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@xxxxxxxxxxx> --- git-p4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-p4.py b/git-p4.py index 0354d4df5c..51e9e64a73 100755 --- a/git-p4.py +++ b/git-p4.py @@ -3590,7 +3590,7 @@ def run(self, args): 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 -- 2.18.0.rc1.242.g61856ae69a