author | Gregory Szorc <gregory.szorc@gmail.com> |
Sat, 02 Nov 2019 14:27:55 -0700 | |
branch | stable |
changeset 43396 | 2b5aab5e9e36 |
parent 43395 | 2b8be670dcb6 |
child 43397 | 09ab61c0ab4b |
--- a/hgext/fsmonitor/__init__.py Sat Nov 02 14:26:06 2019 -0700 +++ b/hgext/fsmonitor/__init__.py Sat Nov 02 14:27:55 2019 -0700 @@ -504,9 +504,9 @@ for f in auditfail: results[f] = None - nf = iter(auditpass).next + nf = iter(auditpass) for st in util.statfiles([join(f) for f in auditpass]): - f = nf() + f = next(nf) if st or f in dmap: results[f] = st