Bag in handling of unknown flags

Bug #798342 reported by Disa
10
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

Changed in python-memcached:
status: New → Confirmed
Revision history for this message
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
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.