/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/smart.py

Remove commented cruft, add a TODO comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
455
455
        
456
456
    def _state_accept_reading_trailer(self, bytes):
457
457
        self._trailer_buffer += bytes
 
458
        # TODO: what if the trailer does not match "done\n"?  Should this raise
 
459
        # a ProtocolViolation exception?
458
460
        if self._trailer_buffer.startswith('done\n'):
459
461
            self.unused_data = self._trailer_buffer[len('done\n'):]
460
462
            self.state_accept = self._state_accept_reading_unused