##// END OF EJS Templates
casesmash: use absolute_import
Pulkit Goyal -
r28351:42a7301f default
parent child Browse files
Show More
@@ -1,5 +1,9 b''
1 import os, __builtin__
1 from __future__ import absolute_import
2 from mercurial import util
2 import __builtin__
3 import os
4 from mercurial import (
5 util,
6 )
3
7
4 def lowerwrap(scope, funcname):
8 def lowerwrap(scope, funcname):
5 f = getattr(scope, funcname)
9 f = getattr(scope, funcname)
@@ -3,7 +3,6 b''
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 contrib/casesmash.py not using absolute_import
7 contrib/check-code.py not using absolute_import
6 contrib/check-code.py not using absolute_import
8 contrib/check-code.py requires print_function
7 contrib/check-code.py requires print_function
9 contrib/check-config.py not using absolute_import
8 contrib/check-config.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now