diff options
author | William Deegan <bill@baddogconsulting.com> | 2013-02-22 22:52:23 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2013-02-22 22:52:23 (GMT) |
commit | ae209a9d3a058dd88f5b5d4d47eb0d97d1f49596 (patch) | |
tree | 7441161e183f7a840860131039d7588938745a69 /src/setup.py | |
parent | 41a6cedc263023c820f67a408ce46c46926116d8 (diff) | |
download | SCons-ae209a9d3a058dd88f5b5d4d47eb0d97d1f49596.zip SCons-ae209a9d3a058dd88f5b5d4d47eb0d97d1f49596.tar.gz SCons-ae209a9d3a058dd88f5b5d4d47eb0d97d1f49596.tar.bz2 |
improved comment around changed code
Diffstat (limited to 'src/setup.py')
-rw-r--r-- | src/setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/setup.py b/src/setup.py index 8bf36bd..9037337 100644 --- a/src/setup.py +++ b/src/setup.py @@ -341,6 +341,7 @@ class install_scripts(_install_scripts): # log.info("changing mode of %s", file) pass else: + # Use symbolic versions of permissions so this script doesn't fail to parse under python3.x exec_and_read_permission = stat.S_IXOTH | stat.S_IXUSR | stat.S_IXGRP | stat.S_IROTH | stat.S_IRUSR | stat.S_IRGRP mode_mask = 4095 # Octal 07777 used because python3 has different octal syntax than python 2 mode = ((os.stat(file)[stat.ST_MODE]) | exec_and_read_permission) & mode_mask |