Commit ed060feb authored by Giorgos Korfiatis's avatar Giorgos Korfiatis Committed by Christos Stavrakakis
Browse files

astakos: pep8 fixes

parent cc7f14b7
...@@ -1108,7 +1108,8 @@ class EmailChangeManager(models.Manager): ...@@ -1108,7 +1108,8 @@ class EmailChangeManager(models.Manager):
user.save() user.save()
email_change.delete() email_change.delete()
msg = "User %s changed email from %s to %s" msg = "User %s changed email from %s to %s"
logger.log(astakos_settings.LOGGING_LEVEL, msg, user.log_display, old_email, user.email) logger.log(astakos_settings.LOGGING_LEVEL, msg, user.log_display,
old_email, user.email)
return user return user
except EmailChange.DoesNotExist: except EmailChange.DoesNotExist:
raise ValueError(_('Invalid activation key.')) raise ValueError(_('Invalid activation key.'))
......
...@@ -46,7 +46,7 @@ installed_apps = [ ...@@ -46,7 +46,7 @@ installed_apps = [
'django_tables2', 'django_tables2',
'astakos.quotaholder_app', 'astakos.quotaholder_app',
'synnefo_branding', 'synnefo_branding',
# 'debug_toolbar', # 'debug_toolbar',
] ]
context_processors = [ context_processors = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment