Commits

Leonardo de Moura committed c3a0a29

fixed problem with Python 2.5

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>

  • Participants
  • Parent commits cec8514

Comments (0)

Files changed (1)

File scripts/update_api.py

                 m = pat2.match(line)
                 if m:
                     eval(line)
-            except Exception as ex:
-                print ex
+            except Exception:
                 raise MKException("Failed to process API definition: %s" % line)
 def_Types()
 def_APIs()