[synthclone] push by surfacep...@gmail.com - Change exception syntax to use 'as' keyword in order to be compatible ... on 2013-09-16 01:22 GMT

1 view
Skip to first unread message

synth...@googlecode.com

unread,
Sep 15, 2013, 9:22:18 PM9/15/13
to synthclone-...@googlegroups.com
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")
Reply all
Reply to author
Forward
0 new messages