As Faik stated "translations.xml" is not mandatory for PiSi, they are requeired for our repositories so instead of yelling ignore silently...
This commit is contained in:
+2
-2
@@ -254,11 +254,11 @@ class Builder:
|
|||||||
|
|
||||||
def fetch_translationsfile(self):
|
def fetch_translationsfile(self):
|
||||||
translationsuri = pisi.util.join_path(self.specdiruri, ctx.const.translations_file)
|
translationsuri = pisi.util.join_path(self.specdiruri, ctx.const.translations_file)
|
||||||
# FIXME: This can be removed after 2007 repository received all translations.xml files from devel / caglar
|
|
||||||
try:
|
try:
|
||||||
self.download(translationsuri, self.destdir)
|
self.download(translationsuri, self.destdir)
|
||||||
except pisi.fetcher.FetchError:
|
except pisi.fetcher.FetchError:
|
||||||
ctx.ui.error(_("This package has no translations.xml, please correct that one in repository!"))
|
# translations.xml is not mandatory for PiSi
|
||||||
|
pass
|
||||||
|
|
||||||
def fetch_patches(self):
|
def fetch_patches(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|||||||
Reference in New Issue
Block a user