[jhbuild/release-team-commands: 52/53] Do not fail on missing metamodule
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/release-team-commands: 52/53] Do not fail on missing metamodule
- Date: Sat, 26 Jun 2010 15:34:59 +0000 (UTC)
commit 04acd6846b16f1d8a859f401037bfbc5faaa6574
Author: Frédéric Péters <fpeters 0d be>
Date: Sat Jun 26 17:34:27 2010 +0200
Do not fail on missing metamodule
jhbuild/commands/goalreport.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index f79cd62..576fe3a 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -440,7 +440,10 @@ class cmd_goalreport(Command):
# mark deprecated modules as processed, so they don't show in "Others"
for meta_key in ('meta-gnome-devel-platform-upcoming-deprecations',
'meta-gnome-desktop-upcoming-deprecations'):
- metamodule = module_set.get_module(meta_key)
+ try:
+ metamodule = module_set.get_module(meta_key)
+ except KeyError:
+ continue
for module_name in metamodule.dependencies:
processed_modules[module_name] = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]