version string cosmetic fixes

This commit is contained in:
Florian Bruhin 2014-02-20 19:59:22 +01:00
parent 7435a37f36
commit 7d878fec7b

View File

@ -88,6 +88,12 @@ def version():
lines = [
'qutebrowser v{}'.format(qutebrowser.__version__),
]
if gitver is not None:
lines.append('Git commit: {}'.format(gitver))
lines += [
'',
'{} {}'.format(platform.python_implementation(),
platform.python_version()),
@ -114,9 +120,5 @@ def version():
if releaseinfo is not None:
for (fn, data) in releaseinfo:
lines += ['', '--- {} ---'.format(fn), data]
lines.append('')
if gitver is not None:
lines.append('Git commit: {}'.format(gitver))
return '\n'.join(lines)