diff options
| author | maurycyp <github.com@wayheavy.com> | 2013-12-05 23:42:35 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-12-06 01:10:52 -0500 |
| commit | 4d0c72eb68fc6518ef02c757b37e5548d0007f41 (patch) | |
| tree | 3f4c38767e0f680aaded43a2914379fc8d0abe5b | |
| parent | 317fd13c7ac25db94d3dabf8ee115acbfbd3e5a7 (diff) | |
Removed unreachable `else` in `try` block.
| -rw-r--r-- | django/db/migrations/questioner.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py index 2ae74d4ef6..7e798d3105 100644 --- a/django/db/migrations/questioner.py +++ b/django/db/migrations/questioner.py @@ -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?" |
