Fixed value encoding bug breaking set_multi #2

Merged
merged 1 commit into from May 10, 2012

Projects

None yet

1 participant

@ghost
ghost commented May 10, 2012

Since store_info[2] can contain either a string or bytes, depending on how it was serialized, we need to handle it carefully here. The old version would break and send invalid commands if the serialized object was bytes (i.e. if it was pickled.) I changed it to work the same way _set does.

@eguven eguven merged commit f74f94e into eguven:master May 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment