diff options
-rwxr-xr-x | Parser/asdl_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |