Permalink
Browse files

Removed unreachable `else` in `try` block.

  • Loading branch information...
1 parent 317fd13 commit 4d0c72eb68fc6518ef02c757b37e5548d0007f41 @maurycyp maurycyp committed with charettes Dec 6, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/db/migrations/questioner.py
@@ -106,8 +106,6 @@ def ask_not_null_addition(self, field_name, model_name):
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?"

0 comments on commit 4d0c72e

Please sign in to comment.