Jean-Michel Caricand 2 роки тому
батько
коміт
9244d0df81
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      generate.py

+ 1 - 1
generate.py

@@ -1054,7 +1054,7 @@ if __name__ == "__main__":
             "with-zlib-cppflags=", "with-zlib-ldflags=", "with-zlib=",
             "with-libxml-cppflags=", "with-libxml-ldflags=", "with-libxml=",
             "type="])
-    except getopt.GetoptError, err:
+    except(getopt.GetoptError, err):
         # print help information and exit:
         print str(err) # will print something like "option -a not recognized"
         usage()