Fix pep8 errors in modules dir
There weren't that many of them - just fix them. Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
This commit is contained in:
parent
b18e83eaf6
commit
e9dbca17dd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user