Removed unreachable `else` in `try` block.

This commit is contained in:
maurycyp 2013-12-05 23:42:35 -05:00 committed by Simon Charette
parent 317fd13c7a
commit 4d0c72eb68
1 changed files with 0 additions and 2 deletions

View File

@ -106,8 +106,6 @@ class InteractiveMigrationQuestioner(MigrationQuestioner):
return eval(code, {}, {"datetime": datetime_safe}) return eval(code, {}, {"datetime": datetime_safe})
except (SyntaxError, NameError) as e: except (SyntaxError, NameError) as e:
print("Invalid input: %s" % e) print("Invalid input: %s" % e)
else:
break
def ask_rename(self, model_name, old_name, new_name, field_instance): def ask_rename(self, model_name, old_name, new_name, field_instance):
"Was this field really renamed?" "Was this field really renamed?"