contrib/check-code.py
changeset 32184 cf424dae5dc7
parent 32183 41d79475d440
child 32293 ca727147ff9f
--- a/contrib/check-code.py	Wed Apr 26 21:51:19 2017 +0900
+++ b/contrib/check-code.py	Mon May 01 17:23:48 2017 +0900
@@ -474,7 +474,7 @@
 
 py3pats = [
   [
-    (r'os\.environ', "use encoding.environ instead (py3)"),
+    (r'os\.environ', "use encoding.environ instead (py3)", r'#.*re-exports'),
     (r'os\.name', "use pycompat.osname instead (py3)"),
     (r'os\.getcwd', "use pycompat.getcwd instead (py3)"),
     (r'os\.sep', "use pycompat.ossep instead (py3)"),