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()