Commits

Juha Komulainen committed 651812b

Use except-syntax that works with older Python on AppEngine.

Comments (0)

Files changed (1)

             self.response.headers['Content-Type'] = 'application/x-go-sgf'
             self.response.headers.add_header('Content-Disposition', 'attachment; filename=stripped.sgf')
             self.response.out.write(converted)
-        except ParseError as e:
+        except ParseError, e:
             self.error(e)
     
     def error(self, e):