зеркало из https://github.com/microsoft/git.git
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:
Родитель
f0ac6e3943
Коммит
fc35c9d5dc
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче