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

  • Committer: Jelmer Vernooij
  • Date: 2011-07-25 13:02:19 UTC
  • mto: (0.40.146 trunk)
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20110725130219-1v7ibcgd99lkb6mj
Cope with older versions of bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
"""'Features' which are used to skip tests."""
17
17
 
18
18
from bzrlib import tests
19
 
from bzrlib.tests.features import Feature
 
19
try:
 
20
    from bzrlib.tests.features import Feature
 
21
except ImportError: # bzr < 2.5
 
22
    from bzrlib.tests import Feature
20
23
from termcolor import allow_color
21
24
 
22
25
class _ColorFeature(Feature):