From 49922b947484ba57c93c9677b61e2a9599886172 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 1 Nov 2015 08:10:16 -0800 Subject: [PATCH] Apply Python 3 futurize transform lib2to3.fixes.fix_idioms. --- integrations/perforce/git_p4.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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):