jhbuild r2449 - in trunk: . jhbuild/commands



Author: fpeters
Date: Sat Nov  1 21:53:26 2008
New Revision: 2449
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2449&view=rev

Log:
* jhbuild/commands/base.py: ignore errors loading bootstrap modules
when checking for its uptodateness.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/commands/base.py

Modified: trunk/jhbuild/commands/base.py
==============================================================================
--- trunk/jhbuild/commands/base.py	(original)
+++ trunk/jhbuild/commands/base.py	Sat Nov  1 21:53:26 2008
@@ -129,7 +129,11 @@
     '''Check install date of bootstrap modules, and compare them to
        the bootstrap moduleset file last modification date.
     '''
-    module_set = jhbuild.moduleset.load(config, uri = 'bootstrap')
+    try:
+        module_set = jhbuild.moduleset.load(config, uri = 'bootstrap')
+    except:
+        # failed to get bootstrap moduleset, silently ignore.
+        return
     packagedb = jhbuild.frontends.get_buildscript(config, []).packagedb
 
     max_install_date = max([



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]