[jhbuild] Don't Fatal Error if module doesn't support DESTDIR (GNOME Bug 654592)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Don't Fatal Error if module doesn't support DESTDIR (GNOME Bug 654592)
- Date: Fri, 15 Jul 2011 12:13:14 +0000 (UTC)
commit 5f346cbcec01a10d7dbc046b0fae3bc0ab392929
Author: Craig Keogh <cskeogh adam com au>
Date: Fri Jul 15 21:38:14 2011 +0930
Don't Fatal Error if module doesn't support DESTDIR (GNOME Bug 654592)
jhbuild/modtypes/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/__init__.py b/jhbuild/modtypes/__init__.py
index 0110e65..ffc3e4a 100644
--- a/jhbuild/modtypes/__init__.py
+++ b/jhbuild/modtypes/__init__.py
@@ -263,7 +263,7 @@ them into the prefix."""
os.rmdir(destdir)
if not install_succeeded:
- raise CommandError(_("Module failed to install into DESTDIR %(dest)r") % {'dest': broken_name})
+ logging.warn(_("Module failed to install into DESTDIR %(dest)r") % {'dest': broken_name})
def get_revision(self):
return self.branch.tree_id()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]