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.
This commit is contained in:
Ian Cordasco 2013-03-30 11:35:07 -04:00
parent 06db4e10e5
commit d6c73b454b

View file

@ -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())