=== modified file 'command.py' --- command.py 2011-04-15 02:33:36 +0000 +++ command.py 2016-07-07 18:38:25 +0000 @@ -47,26 +47,10 @@ def check_version_compatibility(bzrlib_version, min_version, max_version): - """Check whether a bzrlib version is compatible with desired version. - - If the bzrlib_version is not less than min_version and not greater than - max_version, it is considered COMPATIBLE. If the version exceeds - max_version by 1 and is not a 'candidate' or 'final' version, it is - considered MAYBE_TOO_NEW. Other values greater than max_version are - considered TOO_NEW, and values lower than min_version are considered - TOO_OLD. - """ - bzrlib_version = bzrlib.version_info[:2] - if bzrlib_version < min_version: - return TOO_OLD - if bzrlib_version <= max_version: - return COMPATIBLE - max_plus = (max_version[0], max_version[1] + 1) - if bzrlib_version == max_plus: - if bzrlib.version_info[3] not in ('final', 'candidate'): - return COMPATIBLE - return MAYBE_TOO_NEW - return TOO_NEW + """ + There is probably no harm in just considering we're always compatible. + """ + return COMPATIBLE def check_bzrlib_version(desired):