Make --version print a str rather than a tuple

This commit is contained in:
Nickolay Bukreyev 2016-07-30 18:34:31 +07:00
parent 2c028f5d41
commit ab8fca0850

View file

@ -159,7 +159,7 @@ def premain(argv=None):
parser.print_help()
parser.exit()
if args.version:
version = '/'.join(('xonsh', __version__)),
version = '/'.join(('xonsh', __version__))
print(version)
parser.exit()
shell_kwargs = {'shell_type': args.shell_type,