From c7939854c6d1774074c9468c5320014064f18154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Thu, 24 May 2007 12:17:41 +0000 Subject: [PATCH] As Faik stated "translations.xml" is not mandatory for PiSi, they are requeired for our repositories so instead of yelling ignore silently... --- pisi/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/build.py b/pisi/build.py index 7dcf3b95..1b1cbdfc 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -254,11 +254,11 @@ class Builder: def fetch_translationsfile(self): 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: self.download(translationsuri, self.destdir) 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): spec = self.spec