~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-05-02 12:51:59 UTC
  • mfrom: (2475.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20070502125159-zpnij2o99tlddedp
Rename test_plugin tests and the example module used there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
            return True
134
134
        elif resp == ('no', ):
135
135
            return False
136
 
        elif (resp == ('error', "Generic bzr smart protocol error: "
137
 
                                "bad request 'Transport.is_readonly'") or
138
 
              resp == ('error', "Generic bzr smart protocol error: "
139
 
                                "bad request u'Transport.is_readonly'")):
 
136
        elif resp == ('error', "Generic bzr smart protocol error: "
 
137
                               "bad request 'Transport.is_readonly'"):
140
138
            # XXX: nasty hack: servers before 0.16 don't have a
141
139
            # 'Transport.is_readonly' verb, so we do what clients before 0.16
142
140
            # did: assume False.