contrib/hgfixes/fix_bytes.py
changeset 11748 37a70a784397
parent 11747 40d5633889bb
child 17299 e51d4aedace9
equal deleted inserted replaced
11747:40d5633889bb 11748:37a70a784397
    11 
    11 
    12 # XXX: Implementing a blacklist in 2to3 turned out to be more troublesome than
    12 # XXX: Implementing a blacklist in 2to3 turned out to be more troublesome than
    13 # blacklisting some modules inside the fixers. So, this is what I came with.
    13 # blacklisting some modules inside the fixers. So, this is what I came with.
    14 
    14 
    15 blacklist = ['mercurial/demandimport.py',
    15 blacklist = ['mercurial/demandimport.py',
       
    16              'mercurial/py3kcompat.py', # valid python 3 already
    16              'mercurial/i18n.py',
    17              'mercurial/i18n.py',
    17             ]
    18             ]
    18 
    19 
    19 def isdocstring(node):
    20 def isdocstring(node):
    20     def isclassorfunction(ancestor):
    21     def isclassorfunction(ancestor):