summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Fedora Unity) <kanarip@fedoraunity.org>2009-07-05 13:40:57 (GMT)
committerJeroen van Meeuwen (Fedora Unity) <kanarip@fedoraunity.org>2009-07-05 13:40:57 (GMT)
commit6cb2a68af732ec87b7fa83ed654a2ea26689ab8c (patch)
treed52275c9e9b34129588faa1e18a7e718b022ee55
parenta5e23e16946cc79928f74ec0b3caf1fdf5399574 (diff)
downloadrevisor-6cb2a68af732ec87b7fa83ed654a2ea26689ab8c.zip
revisor-6cb2a68af732ec87b7fa83ed654a2ea26689ab8c.tar.gz
revisor-6cb2a68af732ec87b7fa83ed654a2ea26689ab8c.tar.xz
Add F11 to the new package ordering routines
Skip re-iterating @core and @base
-rw-r--r--revisor/base.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/revisor/base.py b/revisor/base.py
index 477c56d..ccd839d 100644
--- a/revisor/base.py
+++ b/revisor/base.py
@@ -1317,12 +1317,13 @@ class RevisorBase:
"java-development", "kde-software-development",
"mail-server", "network-server", "legacy-network-server"])
- elif self.cfg.version_from in [ "F8", "F9", "F10", "DEVEL" ]:
+ elif self.cfg.version_from in [ "F8", "F9", "F10", "F11", "DEVEL" ]:
# Here is where we add groups
groups_nondefault = []
groups_nondefault_support = []
groupList = [grp.name for grp in self.cfg.ksobj._get("packages","groupList")]
+
self.log.debug(_("Running with grouplist: %r") % groupList, level=9)
packageList = self.cfg.ksobj._get("packages","packageList")
@@ -1343,6 +1344,10 @@ class RevisorBase:
#if not group.groupid in groupList:
#continue
+ # These groups have already been added
+ if group.name in [ 'core', 'base' ]:
+ continue
+
if hasattr(group,"default"):
if bool(group.default):
self.log.debug(_("Appending default group %s") % group.groupid, level=7)