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>
This commit is contained in:
parent
f0ac6e3943
commit
fc35c9d5dc
@ -3590,7 +3590,7 @@ class P4Sync(Command, P4UserMap):
|
|||||||
prev_list = prev.split("/")
|
prev_list = prev.split("/")
|
||||||
cur_list = cur.split("/")
|
cur_list = cur.split("/")
|
||||||
for i in range(0, min(len(cur_list), len(prev_list))):
|
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
|
i = i - 1
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user