diff --git a/integrations/perforce/git_p4.py b/integrations/perforce/git_p4.py index 5b36d89..81cee1f 100644 --- a/integrations/perforce/git_p4.py +++ b/integrations/perforce/git_p4.py @@ -731,8 +731,7 @@ def p4ChangesForPaths(depotPaths, changeRange): changeNum = int(line.split(" ")[1]) changes[changeNum] = True - changelist = changes.keys() - changelist.sort() + changelist = sorted(changes.keys()) return changelist def p4PathStartsWith(path, prefix):