sebleier/django-redis-cache — Issue #28: UnboundLocalError: local variable 'parser_class' referenced before assignment
Author: JohnRandom
Created: 2011-11-07 14:12:32+00:00
State: open

Hey,

I just found a minor Issue with a try/except-block in cache.py. From the following diff you can see that a failing import_module() would prevent 'parser_class' from being defined, which in turn would cause problems when raising the error in the except clause. I suggested a fix for that in the following diff.

all the best,
- John

https://gist.github.com/1345126