# HG changeset patch # User timeless <timeless@gmail.com> # Date 1574639822 18000 # Sun Nov 24 18:57:02 2019 -0500 # Node ID dfc11a0ef2a56dc7671bd9990f3f898291029fdb # Parent 0beb089157f8fa275b9a8785627318a15498e36b py26: next() diff --git a/hggit/gitdirstate.py b/hggit/gitdirstate.py --- a/hggit/gitdirstate.py +++ b/hggit/gitdirstate.py @@ -246,7 +246,7 @@ else: # We may not have walked the full directory tree above, # so stat everything we missed. - nf = iter(visit).next + nf = next(iter(visit)) for st in util.statfiles([join(i) for i in visit]): results[nf()] = st return results.keys()