Merge pull request #290 from coreos-inc/fiximport

Fix broken imports
This commit is contained in:
Jake Moshenko 2015-07-30 10:49:24 -04:00
commit c7e464ddf2

View file

@ -341,7 +341,7 @@ def confirm_repo_email():
try:
record = model.repository.confirm_email_authorization_for_repo(code)
except DataModelException as ex:
except model.DataModelException as ex:
return render_page_template('confirmerror.html', error_message=ex.message)
message = """
@ -363,7 +363,7 @@ def confirm_email():
try:
user, new_email, old_email = model.user.confirm_user_email(code)
except DataModelException as ex:
except model.DataModelException as ex:
return render_page_template('confirmerror.html', error_message=ex.message)
if new_email: