<div class="gmail_quote">On Fri, Apr 8, 2011 at 7:03 PM, David Coles <span dir="ltr"><<a href="mailto:dcoles@gaikai.com">dcoles@gaikai.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
See PEP-3110 for details. Verified to work on Python 2.6.5 and 3.1.3.<br>
<br>
Signed-off-by: David Coles <<a href="mailto:dcoles@gaikai.com">dcoles@gaikai.com</a>><br>
---<br>
src/c_client.py | 2 +-<br>
1 files changed, 1 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/src/c_client.py b/src/c_client.py<br>
index a10b3f1..3123093 100644<br>
--- a/src/c_client.py<br>
+++ b/src/c_client.py<br>
@@ -2282,7 +2282,7 @@ output = {'open' : c_open,<br>
# Check for the argument that specifies path to the xcbgen python package.<br>
try:<br>
opts, args = getopt.getopt(sys.argv[1:], 'p:')<br>
-except getopt.GetoptError, err:<br>
+except getopt.GetoptError as err:<br>
print str(err)<br>
print 'Usage: c_client.py [-p path] file.xml'<br>
sys.exit(1)<br>
<font color="#888888">--<br>
1.7.3.4<br>
<br>
</font></blockquote></div><br><div>OK. Looks like that was a bit hasty. You need to fix the print statements too.</div><div>I guess it's time to grab a version of Python 2.5 and to check that we're not breaking that either.</div>
<div><br></div><div>David</div>