Quellcode durchsuchen

Make build.py work with Python 3K-avoids "SyntaxError: invalid token" errors.

Not sure if it works with Python 2.x. Can't test it... :-(
sole vor 13 Jahren
Ursprung
Commit
188b24aea9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      utils/build.py

+ 1 - 1
utils/build.py

@@ -39,7 +39,7 @@ def main(argv=None):
   if args.minify is False:
 
       shutil.copy(path, output)
-      os.chmod(output, 0664); # temp files would usually get 0600
+      os.chmod(output, 0o664); # temp files would usually get 0600
 
   else: