Correzione allo script di build.
This commit is contained in:
parent
2f1591cb5d
commit
d4d279991a
4
build.py
4
build.py
@ -4,7 +4,7 @@ import urllib.request
|
|||||||
from lxml import etree
|
from lxml import etree
|
||||||
import tempfile, os, sys, subprocess, shutil
|
import tempfile, os, sys, subprocess, shutil
|
||||||
|
|
||||||
class Build():
|
class Build(object):
|
||||||
LANGSTD = [ 'ar', 'de', 'en-GB', 'es', 'fr', 'it', 'ja', 'ko', 'pt', 'pt-BR', 'ru', 'zh-CN', 'zh-TW' ]
|
LANGSTD = [ 'ar', 'de', 'en-GB', 'es', 'fr', 'it', 'ja', 'ko', 'pt', 'pt-BR', 'ru', 'zh-CN', 'zh-TW' ]
|
||||||
|
|
||||||
def __init__(self, query, arch, url):
|
def __init__(self, query, arch, url):
|
||||||
@ -61,7 +61,7 @@ class Build():
|
|||||||
|
|
||||||
# Let's process standard languages and append results to the
|
# Let's process standard languages and append results to the
|
||||||
# buildtarball
|
# buildtarball
|
||||||
for lang in LANGSTD:
|
for lang in Build.LANGSTD:
|
||||||
buildtarballs.extend([ x for x in self.__tarballs__ if ('langpack_' + lang) in x ])
|
buildtarballs.extend([ x for x in self.__tarballs__ if ('langpack_' + lang) in x ])
|
||||||
# If it was a build with offline help, another extend would have
|
# If it was a build with offline help, another extend would have
|
||||||
# solved it:
|
# solved it:
|
||||||
|
Reference in New Issue
Block a user