diff options
author | Luke Diamand <luke@diamand.org> | 2018-06-19 11:04:06 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-19 19:34:31 +0300 |
commit | fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56 (patch) | |
tree | 8816daeaab20cee058ec4439caadfcfc87b60f07 /git-p4.py | |
parent | f0ac6e39433c1d7e9339207aa4d01e9bf7a05b8a (diff) |
git-p4: python3: replace <> with !=
The <> string inequality operator (which doesn't seem to be even
documented) no longer exists in python3. Replace with !=.
This still works with python2.
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-x | git-p4.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3590,7 +3590,7 @@ class P4Sync(Command, P4UserMap): prev_list = prev.split("/") cur_list = cur.split("/") for i in range(0, min(len(cur_list), len(prev_list))): - if cur_list[i] <> prev_list[i]: + if cur_list[i] != prev_list[i]: i = i - 1 break |