Show More
@@ -31,14 +31,14 b' def has_baz():' | |||
|
31 | 31 | def has_bzr(): |
|
32 | 32 | try: |
|
33 | 33 | import bzrlib |
|
34 |
return bzrlib.__doc__ |
|
|
34 | return bzrlib.__doc__ is not None | |
|
35 | 35 | except ImportError: |
|
36 | 36 | return False |
|
37 | 37 | |
|
38 | 38 | def has_bzr114(): |
|
39 | 39 | try: |
|
40 | 40 | import bzrlib |
|
41 |
return (bzrlib.__doc__ |
|
|
41 | return (bzrlib.__doc__ is not None | |
|
42 | 42 | and bzrlib.version_info[:2] >= (1, 14)) |
|
43 | 43 | except ImportError: |
|
44 | 44 | return False |
General Comments 0
You need to be logged in to leave comments.
Login now