1. python_mirrors
  2. tracker/roundup

Commits

Bernhard Reiter  committed 324cbd9 Draft

minor cleanup: demo.py: removed superfluous brackets.

  • Participants
  • Parent commits ef7ae27
  • Branches default

Comments (0)

Files changed (1)

File demo.py

View file
     # add the "demo" user
     db = tracker.open('admin')
     # FIXME: Move tracker-specific demo initialization into the tracker templates.
-    if (template == 'minimal'):
+    if template == 'minimal':
         db.user.create(username='demo', password=password.Password('demo'),
                        roles='User')
     else: