summaryrefslogtreecommitdiff
path: root/reporters
diff options
context:
space:
mode:
authorRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 22:08:08 -0300
committerRicardo Gemignani <ricardo.gemignani@gmail.com>2014-03-06 22:08:08 -0300
commitb62a93ab0f8f3d442ee8e0155df7c8a9355816a7 (patch)
tree257d1a08a89ac5f36af204f7a700aaf553620f4b /reporters
parent554f49e7d75d1cbbee7567c577744222295eadd4 (diff)
downloadpylint-b62a93ab0f8f3d442ee8e0155df7c8a9355816a7.tar.gz
code commented and import moved so it won't run when python>2.5
Diffstat (limited to 'reporters')
-rw-r--r--reporters/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reporters/__init__.py b/reporters/__init__.py
index ced2f77..a767a05 100644
--- a/reporters/__init__.py
+++ b/reporters/__init__.py
@@ -28,8 +28,8 @@ if sys.version_info >= (3, 0):
def cmp(a, b):
return (a > b) - (a < b)
-import stringformat
if sys.version_info < (2, 6):
+ import stringformat
stringformat.init(True)
def diff_string(old, new):