1. Tarek Ziadé
  2. flake8

Commits

Ian Cordasco  committed 09f907e

The implementation isn't all that important.

But when we can display it, we may as well, otherwise there's no point in
displaying it.

  • Participants
  • Parent commits fa5b9aa
  • Branches default

Comments (0)

Files changed (1)

File flake8/engine.py

View file
 
 
 def get_python_version():
+    # The implementation isn't all that important.
     try:
-        impl = platform.python_implementation()
+        impl = platform.python_implementation() + " "
     except AttributeError:  # Python 2.5
-        impl = 'Python'
-    return '%s %s on %s' % (impl, platform.python_version(), platform.system())
+        impl = ''
+    return '%s%s on %s' % (impl, platform.python_version(), platform.system())