Commits

Enrico Ambrosini  committed f845b24

testrunner: Fixed a SyntaxError

  • Participants
  • Parent commits f7ea738

Comments (0)

Files changed (1)

File greentest/testrunner.py

 
 try:
     import sqlite3
-except ImportError, ex:
+except ImportError as ex:
     sys.stderr.write('Failed to import sqlite3: %s\n' % ex)
     try:
         import pysqlite2.dbapi2 as sqlite3
-    except ImportError, ex:
+    except ImportError as ex:
         sys.stderr.write('Failed to import pysqlite2.dbapi2: %s\n' % ex)
         sqlite3 = None