/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/nosmart.py

  • Committer: Robert Collins
  • Date: 2010-05-11 08:36:16 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100511083616-b8fjb19zomwupid0
Make all lock methods return Result objects, rather than lock_read returning self, as per John's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
to never have a smart medium.
22
22
"""
23
23
 
24
 
from __future__ import absolute_import
25
 
 
26
 
from .. import errors
27
 
from ..transport import decorator
 
24
from bzrlib import errors
 
25
from bzrlib.transport import decorator
28
26
 
29
27
 
30
28
class NoSmartTransportDecorator(decorator.TransportDecorator):
40
38
 
41
39
def get_test_permutations():
42
40
    """Return the permutations to be used in testing."""
43
 
    from ..tests import test_server
 
41
    from bzrlib.tests import test_server
44
42
    return [(NoSmartTransportDecorator, test_server.NoSmartTransportServer)]
 
43