[open-ils-commits] r13503 - trunk/build/i18n/scripts (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jul 5 13:44:58 EDT 2009
Author: dbs
Date: 2009-07-05 13:44:55 -0400 (Sun, 05 Jul 2009)
New Revision: 13503
Modified:
trunk/build/i18n/scripts/db-seed-i18n.py
Log:
Unbelievably, not all systems have Python 2.6 yet!
Use the exception handling method supported by previous Python versions
Modified: trunk/build/i18n/scripts/db-seed-i18n.py
===================================================================
--- trunk/build/i18n/scripts/db-seed-i18n.py 2009-07-05 12:47:11 UTC (rev 13502)
+++ trunk/build/i18n/scripts/db-seed-i18n.py 2009-07-05 17:44:55 UTC (rev 13503)
@@ -89,7 +89,7 @@
poe.occurrences = [(os.path.basename(source), num)]
poe.msgid = msgid
serts[msgid] = poe
- except Exception as exc:
+ except Exception, exc:
print "Error in line %d of SQL source file: %s" % (num, exc)
for poe in serts.values():
More information about the open-ils-commits
mailing list