Show More
@@ -114,12 +114,13 def has_bzr(): | |||
|
114 | 114 | except ImportError: |
|
115 | 115 | return False |
|
116 | 116 | |
|
117 |
@check("bzr |
|
|
118 |
def has_bzr |
|
|
117 | @checkvers("bzr", "Canonical's Bazaar client >= %s", (1.14,)) | |
|
118 | def has_bzr_range(v): | |
|
119 | major, minor = v.split('.')[0:2] | |
|
119 | 120 | try: |
|
120 | 121 | import bzrlib |
|
121 | 122 | return (bzrlib.__doc__ is not None |
|
122 |
and bzrlib.version_info[:2] >= ( |
|
|
123 | and bzrlib.version_info[:2] >= (int(major), int(minor))) | |
|
123 | 124 | except ImportError: |
|
124 | 125 | return False |
|
125 | 126 |
General Comments 0
You need to be logged in to leave comments.
Login now