Skip to content

Commit 7627169

Browse files
committed
Fixed #158 to correctly show the version
1 parent dea9fbb commit 7627169

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

about_code_tool/genabout.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,8 +689,7 @@ def main(parser, options, args):
689689
mapping_keys = []
690690

691691
if options.version:
692-
msg = 'AboutCode %(__version__)s\n%(__copyright__)s'.format(globals())
693-
print(msg)
692+
print('ABOUT tool {0}\n{1}'.format(__version__, __copyright__))
694693
sys.exit(0)
695694

696695
if verbosity == 1:

0 commit comments

Comments
 (0)