diff options
author | Luke Diamand <luke@diamand.org> | 2018-06-19 10:04:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-19 18:34:31 +0200 |
commit | fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56 (patch) | |
tree | 8816daeaab20cee058ec4439caadfcfc87b60f07 /git-p4.py | |
parent | Merge tag 'l10n-2.18.0-rnd3.1' of git://github.com/git-l10n/git-po (diff) | |
download | git-fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56.tar.xz git-fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56.zip |
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 |