[ https://issues.apache.org/jira/browse/ZOOKEEPER-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010961#comment-13010961 ]
Chris Medaglia commented on ZOOKEEPER-1028: ------------------------------------------- Could someone do a code review on this prior to me submitting the patch? Many thanks, Chris > In python bindings, zookeeper.set2() should return a stat dict but instead > returns None > --------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-1028 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1028 > Project: ZooKeeper > Issue Type: Bug > Components: contrib-bindings > Affects Versions: 3.3.3 > Environment: All environments. > Reporter: Chris Medaglia > Priority: Minor > Labels: patch > Fix For: 3.3.4 > > Attachments: ZOOKEEPER-1028.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > There is a small bug in the python bindings, specifically with the > zookeeper.set2() call. This method should return a stat dictionary, but > actually returns None. The fix is a one-character change to zookeeper.c such > that the return value is '&stat' rather than 'stat'. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira