~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-14 16:16:05 UTC
  • mto: (4896.1.3 2.1.0b4-dev)
  • mto: This revision was merged to the branch mainline in revision 4898.
  • Revision ID: john@arbash-meinel.com-20091214161605-ifvx2fwd2b7rlvsf
Review feedback from Andrew.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1143
1143
        self.response_sent = False
1144
1144
        self._headers = {'Software version': bzrlib.__version__}
1145
1145
        if 'hpss' in debug.debug_flags:
1146
 
            self._thread_id = threading.currentThread().ident
 
1146
            self._thread_id = threading.currentThread().get_ident()
1147
1147
            self._response_start_time = None
1148
1148
 
1149
1149
    def _trace(self, action, message, extra_bytes=None, include_time=False):
1286
1286
 
1287
1287
    def call(self, *args):
1288
1288
        if 'hpss' in debug.debug_flags:
1289
 
            import pdb; pdb.set_trace()
1290
1289
            mutter('hpss call:   %s', repr(args)[1:-1])
1291
1290
            base = getattr(self._medium_request._medium, 'base', None)
1292
1291
            if base is not None: