changeset 4810:03690f8d2b0a

python3: add ignore block around python 2 compatibility if branch
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 06 Aug 2019 11:34:31 +0200
parents 14c12df16ab5
children e1dc374909bd
files hgext3rd/topic/compat.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/compat.py	Tue Aug 06 11:33:53 2019 +0200
+++ b/hgext3rd/topic/compat.py	Tue Aug 06 11:34:31 2019 +0200
@@ -30,5 +30,7 @@
     def branchmapitems(branchmap):
         return branchmap.items()
 else:
+    # py3-transform: off
     def branchmapitems(branchmap):
         return branchmap.iteritems()
+    # py3-transform: on