2007 deposunda henüz translations.xml'ler yok, uyarı ver ve hetayı handle et...

This commit is contained in:
S.Çağlar Onur
2007-05-24 12:08:15 +00:00
parent 1882923038
commit 56498f9f0b
+5 -1
View File
@@ -254,7 +254,11 @@ class Builder:
def fetch_translationsfile(self):
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):
spec = self.spec