backend/satellite_tools/diskImportLib.py | 18 ------------------ 1 file changed, 18 deletions(-)
New commits: commit 5c161578b7e085531f698f757cd65fd9a82e76a5 Author: Jan Pazdziora jpazdziora@redhat.com Date: Fri Feb 4 13:30:38 2011 +0100
The listChannelErrata is dead code by now (after the ISO dumper removal).
diff --git a/backend/satellite_tools/diskImportLib.py b/backend/satellite_tools/diskImportLib.py index 68e09de..55f683d 100644 --- a/backend/satellite_tools/diskImportLib.py +++ b/backend/satellite_tools/diskImportLib.py @@ -69,11 +69,6 @@ def getChannelAttribute(mountPoint, channel, attribute, handler): return channel.get(attribute)
-# Lists the errata linked to a specific channel -def listChannelErrata(mountPoint, channel, handler): - return getChannelAttribute(mountPoint, channel, 'errata', handler) - - # Functions for dumping packages def rpmsPath(obj_id, mountPoint, sources=0): # returns the package path (for exporter/importer only)
commit 4ddfb5907bbb92a5f202f8d2e3c5d592096d905a Author: Jan Pazdziora jpazdziora@redhat.com Date: Fri Feb 4 13:29:53 2011 +0100
The listChannelPackages is dead code by now (after the ISO dumper removal).
diff --git a/backend/satellite_tools/diskImportLib.py b/backend/satellite_tools/diskImportLib.py index 4cd146d..68e09de 100644 --- a/backend/satellite_tools/diskImportLib.py +++ b/backend/satellite_tools/diskImportLib.py @@ -69,19 +69,6 @@ def getChannelAttribute(mountPoint, channel, attribute, handler): return channel.get(attribute)
-# Lists the packages linked to a specific channel -def listChannelPackages(mountPoint, channel, handler, sources=0, all=0): - if sources: - return getChannelAttribute(mountPoint, channel, 'source-packages', - handler) - if all: - # All packages requested - ret = getChannelAttribute(mountPoint, channel, 'all-packages', handler) - if ret: - return ret - return getChannelAttribute(mountPoint, channel, 'packages', handler) - - # Lists the errata linked to a specific channel def listChannelErrata(mountPoint, channel, handler): return getChannelAttribute(mountPoint, channel, 'errata', handler)