Re: UnboundLocalError: local variable 'full_path' referenced before assignment

2012-09-14 Thread hellj
Is there any kind of workaround for this? I'm worried that rows are not making it into the db because of this problem which I'm also having. On Wednesday, February 8, 2012 4:44:12 PM UTC-5, akaariai wrote: > > Quickly looking through the code it seems this is a bug in Django. The > full_path v

Re: UnboundLocalError: local variable 'full_path' referenced before assignment

2012-02-08 Thread akaariai
Quickly looking through the code it seems this is a bug in Django. The full_path variable is used in a place where it is not guaranteed to be initialized. In fact, the whole loaddata.py file seems like a good candidate for some cleanup. 9 levels of indentation in a method and this sort of bug is li