[Swift-commit] r5082 - trunk/bin
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Wed Sep 7 12:48:29 CDT 2011
Author: wozniak
Date: 2011-09-07 12:48:28 -0500 (Wed, 07 Sep 2011)
New Revision: 5082
Modified:
trunk/bin/chxml
Log:
This should be compatible with Python 2.4
Modified: trunk/bin/chxml
===================================================================
--- trunk/bin/chxml 2011-09-07 17:40:07 UTC (rev 5081)
+++ trunk/bin/chxml 2011-09-07 17:48:28 UTC (rev 5082)
@@ -26,7 +26,7 @@
try:
config_filename = argstr[i+1].split("'")[1]
config_file = open(config_filename,"r")
- except IOError as (errno, strerror):
+ except IOError, (errno, strerror):
print strerror
sys.exit("Could not read: " + config_filename)
More information about the Swift-commit
mailing list