Commits

Nikolay Zakharov committed 65c3a52

Oracle: replace 'print' to stderr by 'warnings.warn'

  • Participants
  • Parent commits 29c5aac

Comments (0)

Files changed (1)

south/db/oracle.py

 import os.path
 import sys
 import re
+import warnings
 import cx_Oracle
 
 
 
 from south.db import generic
 
-print >> sys.stderr, " ! WARNING: South's Oracle support is still alpha."
-print >> sys.stderr, " !          Be wary of possible bugs."
+warnings.warn("! WARNING: South's Oracle support is still alpha. "
+              "Be wary of possible bugs.")
 
 class DatabaseOperations(generic.DatabaseOperations):    
     """