diff roundup/scripts/roundup_demo.py @ 6042:d09a1d6a3bd9

flake8 whitespace fixes; add version_check import version_check to make sure we are running with version > 2.7 python.
author John Rouillard <rouilj@ieee.org>
date Tue, 07 Jan 2020 21:37:48 -0500
parents 4cf48ff01e04
children 062a54eeb0a1
line wrap: on
line diff
--- a/roundup/scripts/roundup_demo.py	Tue Jan 07 21:32:34 2020 -0500
+++ b/roundup/scripts/roundup_demo.py	Tue Jan 07 21:37:48 2020 -0500
@@ -25,6 +25,7 @@
 from roundup import admin, configuration, demo, instance
 from roundup.i18n import _
 from roundup.anypy.my_input import my_input
+from roundup import version_check
 
 def run():
     home = DEFAULT_HOME
@@ -51,15 +52,16 @@
         templates = admin.AdminTool().listTemplates().keys()
         template = my_input(
             _('Enter tracker template to use (one of (%s)) [%s]: ') %
-            (','.join(templates),template))
+            (','.join(templates), template))
         if not template:
             template = DEFAULT_TEMPLATE
         # install
         demo.install_demo(home, backend,
-            admin.AdminTool().listTemplates()[template]['path'])
+                          admin.AdminTool().listTemplates()[template]['path'])
     # run
     demo.run_demo(home)
 
+
 if __name__ == '__main__':
     run()
 

Roundup Issue Tracker: http://roundup-tracker.org/