Commits

Aymeric Augustin  committed fcd34ed

Fix deprecated raise syntax.

  • Participants
  • Parent commits 91e9fd7

Comments (0)

Files changed (1)

File south/logger.py

                 _logger.addHandler(logging.FileHandler(logging_file))
                 _logger.setLevel(logging.DEBUG)
         else:
-            raise IOError, "SOUTH_LOGGING_ON is True. You also need a SOUTH_LOGGING_FILE setting."
+            raise IOError("SOUTH_LOGGING_ON is True. You also need a SOUTH_LOGGING_FILE setting.")
     
     return _logger