diff --git a/pisi/build.py b/pisi/build.py index 3ca7d0e3..7dcf3b95 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -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