[jhbuild] Restore support for absolute moduleset paths (GNOME bug 637728)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Restore support for absolute moduleset paths (GNOME bug 637728)
- Date: Tue, 21 Dec 2010 12:08:21 +0000 (UTC)
commit 74c8db603ac7dd328a51fd44b58a967114385763
Author: Dirk Wallenstein <halsmit t-online de>
Date: Mon Dec 20 19:59:39 2010 +0100
Restore support for absolute moduleset paths (GNOME bug 637728)
jhbuild/moduleset.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index b2bfc6c..2adbe1b 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -287,7 +287,9 @@ def load(config, uri=None):
modulesets = [ config.moduleset ]
ms = ModuleSet(config = config)
for uri in modulesets:
- if config.modulesets_dir and config.nonetwork or config.use_local_modulesets:
+ if os.path.isabs(uri):
+ pass
+ elif config.modulesets_dir and config.nonetwork or config.use_local_modulesets:
if os.path.isfile(os.path.join(config.modulesets_dir,
uri + '.modules')):
uri = os.path.join(config.modulesets_dir, uri + '.modules')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]