CC-5133: Make sure Liquidsoap 1.1.1 is used

add missing file
This commit is contained in:
Martin Konecny 2013-05-13 16:10:21 -04:00
parent 85afe53c89
commit be465be9b2
1 changed files with 7 additions and 0 deletions

7
python_apps/pypo/pure.py Normal file
View File

@ -0,0 +1,7 @@
import re
def version_cmp(version1, version2):
def normalize(v):
return [int(x) for x in re.sub(r'(\.0+)*$','', v).split(".")]
return cmp(normalize(version1), normalize(version2))