Commits

Anonymous committed 8b59d7e

remove references to components that have been removed

  • Participants
  • Parent commits 061b807

Comments (0)

Files changed (3)

updatebot/__init__.py

 """
 
 from updatebot.bot import Bot
-from updatebot.ordered import Bot as OrderedBot
 from updatebot.current import Bot as CurrentBot
 from updatebot.config import UpdateBotConfig

updatebot/groupmgr/__init__.py

 from updatebot.groupmgr.manager import GroupManager
 from updatebot.groupmgr.single import SingleGroupManager
 from updatebot.groupmgr.single import SingleGroupManagerSet
-from updatebot.groupmgr.errata import ErrataGroupManager
-from updatebot.groupmgr.errata import ErrataGroupManagerSet

updatebot/lib/xobjects.py

 
 import conary
 
-from aptmd.packages import _Package
-from aptmd.sources import _SourcePackage
-
 class XDocManager(xobj.Document):
     """
     Base class that implements simple freeze/thaw methods.
         fObj.close()
 
 
-class XMetadata(object):
-    """
-    Representation of repository data.
-    """
-
-    binaryPackages = [ _Package ]
-    sourcePackage = _SourcePackage
-
-
-class XMetadataDoc(XDocManager):
-    """
-    Document class for repository data.
-    """
-
-    data = XMetadata
-
-    def __init__(self, *args, **kwargs):
-        data = kwargs.pop('data', None)
-        XDocManager.__init__(self, *args, **kwargs)
-        if data is not None:
-            self.data = XMetadata()
-            self.data.binaryPackages = []
-            for pkg in data:
-                if pkg.arch == 'src':
-                    self.data.sourcePackage = pkg
-                else:
-                    self.data.binaryPackages.append(pkg)
-
-
 class XDictItem(object):
     """
     Object to represent key/value pairs.