Removed unreachable `else` in `try` block.
This commit is contained in:
parent
317fd13c7a
commit
4d0c72eb68
|
@ -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…
Reference in New Issue