/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 breezy/smart/protocol.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import thread
28
28
import time
29
29
 
30
 
import brzlib
31
 
from brzlib import (
 
30
import breezy
 
31
from breezy import (
32
32
    debug,
33
33
    errors,
34
34
    osutils,
35
35
    )
36
 
from brzlib.smart import message, request
37
 
from brzlib.trace import log_exception_quietly, mutter
38
 
from brzlib.bencode import bdecode_as_tuple, bencode
 
36
from breezy.smart import message, request
 
37
from breezy.trace import log_exception_quietly, mutter
 
38
from breezy.bencode import bdecode_as_tuple, bencode
39
39
 
40
40
 
41
41
# Protocol version strings.  These are sent as prefixes of bzr requests and
1150
1150
    def __init__(self, write_func):
1151
1151
        _ProtocolThreeEncoder.__init__(self, write_func)
1152
1152
        self.response_sent = False
1153
 
        self._headers = {'Software version': brzlib.__version__}
 
1153
        self._headers = {'Software version': breezy.__version__}
1154
1154
        if 'hpss' in debug.debug_flags:
1155
1155
            self._thread_id = thread.get_ident()
1156
1156
            self._response_start_time = None