Bag in handling of unknown flags

Bug #798342 reported by Disa on 2011-06-16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python Memcached

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

Changed in python-memcached:
status: New → Confirmed
Sean Reifschneider (jafo) wrote :

I've reviewed your patch and have changed it to just return None directly rather than setting val. Thanks for the patch!

Changed in python-memcached:
status: Confirmed → Fix Committed

Thank You for merging my patch.

Changed in python-memcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers