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>
Luke Diamand committed
Jun 19, 2018 at 09:04 UTC
fc35c9d5dc8fefbc29e9713e6b47eb4c19579d56
1 file changed
+1
-1
git-p4.py
+1
-1
@@ -3590,7 +3590,7 @@ class P4Sync(Command, P4UserMap):
3590
prev_list = prev.split("/")
3591
cur_list = cur.split("/")
3592
for i in range(0, min(len(cur_list), len(prev_list))):
3593
- if cur_list[i] <> prev_list[i]:
3593
+ if cur_list[i] != prev_list[i]:
3594
i = i - 1
3595
break
3596