mirror of
https://github.com/django/django.git
synced 2025-10-01 14:31:19 +00:00
Removed unreachable else
in try
block.
This commit is contained in:
parent
317fd13c7a
commit
4d0c72eb68
1 changed files with 0 additions and 2 deletions
|
@ -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?"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue