1
0
mirror of https://github.com/django/django.git synced 2025-02-28 11:34:28 +00:00

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

View File

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