#21014: MigrationLoader gobbles ImportError despite trying not to. ----------------------------+-------------------- Reporter: loic84 | Owner: Type: Bug | Status: new Component: Migrations | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+-------------------- {{{ File "/Users/loic/Dev/django/django/db/migrations/loader.py", line 75, in load_disk directory = os.path.dirname(module.__file__) UnboundLocalError: local variable 'module' referenced before assignment }}}
-- Ticket URL: <https://code.djangoproject.com/ticket/21014> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.9de8a4c41a2ff72e3cf1663934ebc933%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.