2007 deposunda henüz translations.xml'ler yok, uyarı ver ve hetayı handle et...
This commit is contained in:
+5
-1
@@ -254,7 +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)
|
||||||
self.download(translationsuri, self.destdir)
|
# FIXME: This can be removed after 2007 repository received all translations.xml files from devel / caglar
|
||||||
|
try:
|
||||||
|
self.download(translationsuri, self.destdir)
|
||||||
|
except pisi.fetcher.FetchError:
|
||||||
|
ctx.ui.error(_("This package has no translations.xml, please correct that one in repository!"))
|
||||||
|
|
||||||
def fetch_patches(self):
|
def fetch_patches(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|||||||
Reference in New Issue
Block a user