[jhbuild] Don't list or build SystemModules if partial_build is False
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Don't list or build SystemModules if partial_build is False
- Date: Thu, 21 Jun 2012 12:49:12 +0000 (UTC)
commit cbb12def24c93908c87ed217ab7f919296132ac7
Author: Craig Keogh <cskeogh adam com au>
Date: Thu Jun 21 15:54:19 2012 +0930
Don't list or build SystemModules if partial_build is False
jhbuild/moduleset.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index 1403756..019c8d5 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -208,12 +208,14 @@ class ModuleSet:
def remove_system_modules(self, modules):
if not self.config.partial_build:
- return modules
+ return [module for module in modules \
+ if not isinstance(module, SystemModule)]
- installed_pkgconfig = systeminstall.get_installed_pkgconfigs \
- (self.config)
return_list = []
+ installed_pkgconfig = systeminstall.get_installed_pkgconfigs \
+ (self.config)
+
for module in modules:
if isinstance(module, SystemModule):
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]