From 257a1d0f289da018f71836014ff9c6e5aac01295 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 9 Aug 2011 18:48:02 -0500 Subject: 2.x syntax --- Parser/asdl_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index ce8425a..ceac32f 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1173,7 +1173,7 @@ def main(srcfile): write = True try: fp = open(p, "r") - except IOError as e: + except IOError, e: if e.errno != errno.ENOENT: raise else: -- cgit v0.12