changeset 41357:dafd13c7237b

py3: use dict.items() instead of dict.iteritems() in tests/test-lfs-server.t dict.iteritems() is not present on Python 3. Differential Revision: https://phab.mercurial-scm.org/D5673
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 18 Jan 2019 19:28:31 +0530
parents 23c80ce166f1
children 0a0927f7549d
files tests/test-lfs-serve.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs-serve.t	Fri Jan 18 19:26:28 2019 +0530
+++ b/tests/test-lfs-serve.t	Fri Jan 18 19:28:31 2019 +0530
@@ -51,7 +51,7 @@
   >     opts[b'manifest'] = False
   >     opts[b'dir'] = False
   >     rl = cmdutil.openrevlog(repo, b'debugprocessors', file_, opts)
-  >     for flag, proc in rl._flagprocessors.iteritems():
+  >     for flag, proc in rl._flagprocessors.items():
   >         ui.status(b"registered processor '%#x'\n" % (flag))
   > EOF