Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling region.get with a key with no value throws an exception #8
Migrated issue, originally created by Mark (mhall)
If I call region.get('missing_key'), then I get the following exception:
File "/home/mhall/Projects/workspace/Storyana/src/storyana/backend.py", line 175, in has_story
File "/home/mhall/Projects/workspace/Storyana/virtualenv/local/lib/python2.7/site-packages/dogpile/cache/region.py", line 272, in get
AttributeError: 'NoValue' object has no attribute 'metadata'
Michael Bayer (zzzeek) wrote:
this bug is actually in 0.2.4 also, so glad I've kept that "alpha" flag on there so far ;)
thanks for reporting, let me know what else and if it works OK for you we'll do a release (since 0.2.4 is pretty broken).