python3: add ignore block around python 2 compatibility if branch
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 06 Aug 2019 11:34:31 +0200
changeset 4810 03690f8d2b0a
parent 4808 14c12df16ab5
child 4811 e1dc374909bd
python3: add ignore block around python 2 compatibility if branch
hgext3rd/topic/compat.py
--- 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