Revision: 66da6f041ddd
Author: Devin Anderson <
surface...@gmail.com>
Date: Mon Sep 16 01:21:59 2013 UTC
Log: Change exception syntax to use 'as' keyword in order to be
compatible with Python 3 interpreters.
http://code.google.com/p/synthclone/source/detail?r=66da6f041ddd
Modified:
/configure
=======================================
--- /configure Sun Sep 15 23:40:57 2013 UTC
+++ /configure Mon Sep 16 01:21:59 2013 UTC
@@ -210,11 +210,10 @@
try:
result = call(qmakeArgs)
- except Exception, e:
+ except Exception as e:
parser.error("%s call failed: %s" % (qmakeExecutable, str(e)))
- else:
- if result:
- parser.error("%s returned an error" % qmakeExecutable)
+ if result:
+ parser.error("%s returned an error" % qmakeExecutable)
stdout.write("Configure successful. Run `make` to build, and "
"`make install` to install.\n")