diff roundup/dist/command/build_scripts.py @ 5380:64c4e43fbb84

Python 3 preparation: numeric literal syntax. Fixes octal constants to use leading 0o, and removes 'L' suffixes. Tool-assisted patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Tue, 24 Jul 2018 21:43:32 +0000
parents 5e2888db6c48
children 0942fe89e82e
line wrap: on
line diff
--- a/roundup/dist/command/build_scripts.py	Tue Jul 24 21:42:22 2018 +0000
+++ b/roundup/dist/command/build_scripts.py	Tue Jul 24 21:43:32 2018 +0000
@@ -140,4 +140,4 @@
                         % script_vars)
             finally:
                 file.close()
-                os.chmod(outfile, 0755)
+                os.chmod(outfile, 0o755)

Roundup Issue Tracker: http://roundup-tracker.org/