Patchwork D1796: py3: don't use dict.iterkeys()

login
register
mail settings
Submitter phabricator
Date Jan. 10, 2018, 11:04 p.m.
Message ID <7ad7a1b5dac6ac508e5f66d2e80539a6@localhost.localdomain>
Download mbox | patch
Permalink /patch/26662/
State Not Applicable
Headers show

Comments

phabricator - Jan. 10, 2018, 11:04 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfbf1a5d680ea: py3: don&#039;t use dict.iterkeys() (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1796?vs=4673&id=4779

REVISION DETAIL
  https://phab.mercurial-scm.org/D1796

AFFECTED FILES
  mercurial/manifest.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -810,7 +810,7 @@ 
             if p in self._files:
                 yield self._subpath(p)
             else:
-                for f in self._dirs[p].iterkeys():
+                for f in self._dirs[p]:
                     yield f
 
     def keys(self):