From db2d997efa43596fe5860d1b1c0c410e99d96f67 Mon Sep 17 00:00:00 2001 From: Luke Diamand Date: Tue, 19 Jun 2018 09:04:11 +0100 Subject: git-p4: python3: fix octal constants See PEP3127. Works fine with python2 as well. Signed-off-by: Luke Diamand Signed-off-by: Junio C Hamano --- git-p4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-p4.py') diff --git a/git-p4.py b/git-p4.py index 714e442d7c..b449db1cc9 100755 --- a/git-p4.py +++ b/git-p4.py @@ -1841,7 +1841,7 @@ def applyCommit(self, id): filesToDelete.remove(path) dst_mode = int(diff['dst_mode'], 8) - if dst_mode == 0120000: + if dst_mode == 0o120000: symlinks.add(path) elif modifier == "D": -- cgit 1.2.3-korg