From d6c73b454bba83859fb2068f99c11b6106c11af7 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Sat, 30 Mar 2013 11:35:07 -0400 Subject: [PATCH] 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. --- flake8/engine.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake8/engine.py b/flake8/engine.py index 8d1ac08..3838d35 100644 --- a/flake8/engine.py +++ b/flake8/engine.py @@ -85,8 +85,9 @@ def get_style_guide(**kwargs): 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())