contrib/check-code.py
changeset 32184 cf424dae5dc7
parent 32183 41d79475d440
child 32293 ca727147ff9f
equal deleted inserted replaced
32183:41d79475d440 32184:cf424dae5dc7
   472   [],
   472   [],
   473 ]
   473 ]
   474 
   474 
   475 py3pats = [
   475 py3pats = [
   476   [
   476   [
   477     (r'os\.environ', "use encoding.environ instead (py3)"),
   477     (r'os\.environ', "use encoding.environ instead (py3)", r'#.*re-exports'),
   478     (r'os\.name', "use pycompat.osname instead (py3)"),
   478     (r'os\.name', "use pycompat.osname instead (py3)"),
   479     (r'os\.getcwd', "use pycompat.getcwd instead (py3)"),
   479     (r'os\.getcwd', "use pycompat.getcwd instead (py3)"),
   480     (r'os\.sep', "use pycompat.ossep instead (py3)"),
   480     (r'os\.sep', "use pycompat.ossep instead (py3)"),
   481     (r'os\.pathsep', "use pycompat.ospathsep instead (py3)"),
   481     (r'os\.pathsep', "use pycompat.ospathsep instead (py3)"),
   482     (r'os\.altsep', "use pycompat.osaltsep instead (py3)"),
   482     (r'os\.altsep', "use pycompat.osaltsep instead (py3)"),