news/web: allow dot in version.
This commit is contained in:
parent
b3358689d5
commit
2abf28f274
@ -28,7 +28,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
|
|
||||||
digits_re = re.compile('^[0-9]+$')
|
digits_re = re.compile('^[0-9.]+$')
|
||||||
|
|
||||||
BASE_DIR = '/var/lib'
|
BASE_DIR = '/var/lib'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user