[openrtm-commit:01064] r565 - trunk/OpenRTM-aist-Python

openrtm @ openrtm.org openrtm @ openrtm.org
2013年 4月 29日 (月) 16:23:27 JST


Author: n-ando
Date: 2013-04-29 16:23:27 +0900 (Mon, 29 Apr 2013)
New Revision: 565

Modified:
   trunk/OpenRTM-aist-Python/setup.py
Log:
Exception syntax error has been corrected for python2.5.

Modified: trunk/OpenRTM-aist-Python/setup.py
===================================================================
--- trunk/OpenRTM-aist-Python/setup.py	2013-04-26 17:07:01 UTC (rev 564)
+++ trunk/OpenRTM-aist-Python/setup.py	2013-04-29 07:23:27 UTC (rev 565)
@@ -348,7 +348,7 @@
   for line in open(file_name, "r"):
     try:
       outdata = conv_encoding(line.rstrip('\r\n'), char_code)
-    except Exception as e:
+    except Exception, e:
       print "Exception cought in " + file_name + ": " + line
       print e
       outfd.close()



More information about the openrtm-commit mailing list