Modify ↓
Ticket #698 (closed defect: fixed)
using schemamigration --add-field fails with cryptic message
| Reported by: | woolford.thomas@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | commands | Version: | 0.7.2 |
| Keywords: | Cc: |
Description
while trying to use "--add-field myfield" schemamigration failed with cryptic traceback module_name referenced before assignment.
traced back to line 407 in creator/changes.py prints an error message but this is lost above the traceback.
proposed change:
instead of print this message, throw the message in the traceback so that it's visible and the code doesn't continue to execute past an error condition.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [a0526109ef81].