[MERGE][1.7] Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.

Andrew Bennetts andrew at canonical.com
Thu Sep 11 14:08:25 BST 2008


Hi,

When bzrlib/smart/protocol.py was changed to reduce string concatenations for
1.6, one use of the old “_in_buffer” attribute of ProtocolThreeDecoder inside a
-Dhpss code path wasn't changed.

This trivial patch updates that spot, and for good measure removes a commented
out line of code that referenced that attribute too.  I checked for other uses
with grep, and didn't find any other uses.

This patch is very small and safe, and helps debugging with -Dhpss, so I think
it's worth cherry-picking into 1.7.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: trivial-3703.patch
Type: text/x-diff
Size: 3952 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080911/eb6e785a/attachment.bin 


More information about the bazaar mailing list