Commit 4d0c72eb authored by maurycyp's avatar maurycyp Committed by Simon Charette
Browse files

Removed unreachable `else` in `try` block.

parent 317fd13c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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?"