Skip to content

Commit 4d8a8bf

Browse files
committed
flake8 whitespace fixes; add version_check
import version_check to make sure we are running with version > 2.7 python.
1 parent cec1eb2 commit 4d8a8bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

roundup/scripts/roundup_demo.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from roundup import admin, configuration, demo, instance
2626
from roundup.i18n import _
2727
from roundup.anypy.my_input import my_input
28+
from roundup import version_check
2829

2930
def run():
3031
home = DEFAULT_HOME
@@ -51,15 +52,16 @@ def run():
5152
templates = admin.AdminTool().listTemplates().keys()
5253
template = my_input(
5354
_('Enter tracker template to use (one of (%s)) [%s]: ') %
54-
(','.join(templates),template))
55+
(','.join(templates), template))
5556
if not template:
5657
template = DEFAULT_TEMPLATE
5758
# install
5859
demo.install_demo(home, backend,
59-
admin.AdminTool().listTemplates()[template]['path'])
60+
admin.AdminTool().listTemplates()[template]['path'])
6061
# run
6162
demo.run_demo(home)
6263

64+
6365
if __name__ == '__main__':
6466
run()
6567

0 commit comments

Comments
 (0)