Fix broken imports

This commit is contained in:
Joseph Schorr 2015-07-29 18:28:58 -04:00
parent 572d6ba53c
commit a916177c16

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: