From 42918a88cc5aa52edc402f86f88f9b0b6f0d18f7 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 16 May 2015 14:49:29 +0300 Subject: [PATCH] added support for git-based motion versions --- src/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/config.py b/src/config.py index d65c750..0a63012 100644 --- a/src/config.py +++ b/src/config.py @@ -1243,6 +1243,9 @@ def is_old_motion(): version = int(version[8:]) return version < _LAST_OLD_CONFIG_VERSIONS[0] + elif version.count('Git'): # e.g. Unofficial-Git-a5b5f13 + return False # all git versions are assumed to be new + else: # stable release, should be in the format x.y.z return update.compare_versions(version, _LAST_OLD_CONFIG_VERSIONS[1]) <= 0 -- 2.39.5