From e9dbca17dd02f03516f1f3bc67b0dd005daa51a2 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 20 Sep 2013 14:58:20 -0700 Subject: [PATCH] Fix pep8 errors in modules dir There weren't that many of them - just fix them. Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a --- files/graphite-init-db.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/graphite-init-db.py b/files/graphite-init-db.py index 1a83632..45e01d5 100644 --- a/files/graphite-init-db.py +++ b/files/graphite-init-db.py @@ -33,8 +33,8 @@ PASS = config.get('admin', 'password') management.call_command('syncdb', interactive=False) try: - auth_models.User.objects.get(username=USER) - print 'Admin user already exists.' + auth_models.User.objects.get(username=USER) + print 'Admin user already exists.' except auth_models.User.DoesNotExist: - print 'Creating admin user' - auth_models.User.objects.create_superuser(USER, EMAIL, PASS) + print 'Creating admin user' + auth_models.User.objects.create_superuser(USER, EMAIL, PASS)