diff options
author | Luke Diamand <luke@diamand.org> | 2018-06-19 09:04:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-19 09:34:32 -0700 |
commit | db2d997efa43596fe5860d1b1c0c410e99d96f67 (patch) | |
tree | a0fdd1437353a2b8324a1904e29c8939f64df807 | |
parent | git-p4: python3: use print() function (diff) | |
download | tgif-db2d997efa43596fe5860d1b1c0c410e99d96f67.tar.xz |
git-p4: python3: fix octal constants
See PEP3127. Works fine with python2 as well.
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-p4.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1841,7 +1841,7 @@ class P4Submit(Command, P4UserMap): filesToDelete.remove(path) dst_mode = int(diff['dst_mode'], 8) - if dst_mode == 0120000: + if dst_mode == 0o120000: symlinks.add(path) elif modifier == "D": |