identifier pattern for the record

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@653 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
nemobis 12 years ago
parent 6c68a2f5e8
commit cc459f1685

@ -31,7 +31,7 @@ secretkey = ''
def upload(wikis):
for wiki, dumps in wikis.items():
wikiname = '-'.join(wiki.split('-')[:-1])
wikiname = '-'.join(wiki.split('-')[:-1]) # The identifier has to match this pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]{4,100}$
wikidate = wiki.split('-')[-1]
c = 0
for dump in dumps:

Loading…
Cancel
Save