With group_command=objects we access yb.comps on every "yum update".
If no repo with groups is enabled (perfectly legal IMO), this is fatal.
---
 yum/__init__.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index a48ec70..929d20d 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -939,9 +939,6 @@ class YumBase(depsolve.Depsolve):
             else:
                 repo.groups_added = True
 
-        if self._comps.compscount == 0:
-            raise Errors.GroupsError, _('No Groups Available in any 
repository')
-
         #  Note that this means that grp.installed is not usable, when using
         # groups as objects ... but that's GOOD.
         if self.conf.group_command != 'objects':
-- 
1.7.11.7

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to