CC-5133: Make sure Liquidsoap 1.1.1 is used
add missing file
This commit is contained in:
parent
85afe53c89
commit
be465be9b2
1 changed files with 7 additions and 0 deletions
7
python_apps/pypo/pure.py
Normal file
7
python_apps/pypo/pure.py
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue