Bag in handling of unknown flags
Bug #798342 reported by
Disa
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Memcached |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If memcached server sends unknown flag in response for "get" command I have got the following message:
"UnboundLocalError: local variable 'val' referenced before assignment"
Related branches
lp:~sharoonthomas/python-memcached/fix-issue-798342
- Sean Reifschneider: Approve
-
Diff: 11 lines (+1/-0)1 file modifiedmemcache.py (+1/-0)
Changed in python-memcached: | |
status: | New → Confirmed |
Changed in python-memcached: | |
status: | Confirmed → Fix Committed |
Changed in python-memcached: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've reviewed your patch and have changed it to just return None directly rather than setting val. Thanks for the patch!