version string cosmetic fixes
This commit is contained in:
parent
7435a37f36
commit
7d878fec7b
@ -88,6 +88,12 @@ def version():
|
|||||||
|
|
||||||
lines = [
|
lines = [
|
||||||
'qutebrowser v{}'.format(qutebrowser.__version__),
|
'qutebrowser v{}'.format(qutebrowser.__version__),
|
||||||
|
]
|
||||||
|
|
||||||
|
if gitver is not None:
|
||||||
|
lines.append('Git commit: {}'.format(gitver))
|
||||||
|
|
||||||
|
lines += [
|
||||||
'',
|
'',
|
||||||
'{} {}'.format(platform.python_implementation(),
|
'{} {}'.format(platform.python_implementation(),
|
||||||
platform.python_version()),
|
platform.python_version()),
|
||||||
@ -114,9 +120,5 @@ def version():
|
|||||||
if releaseinfo is not None:
|
if releaseinfo is not None:
|
||||||
for (fn, data) in releaseinfo:
|
for (fn, data) in releaseinfo:
|
||||||
lines += ['', '--- {} ---'.format(fn), data]
|
lines += ['', '--- {} ---'.format(fn), data]
|
||||||
lines.append('')
|
|
||||||
|
|
||||||
if gitver is not None:
|
|
||||||
lines.append('Git commit: {}'.format(gitver))
|
|
||||||
|
|
||||||
return '\n'.join(lines)
|
return '\n'.join(lines)
|
||||||
|
Loading…
Reference in New Issue
Block a user