Преглед на файлове

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 преди 13 години
родител
ревизия
188b24aea9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: