backend/satellite_tools/exporter/exportLib.py | 19 -------------------
1 file changed, 19 deletions(-)
New commits:
commit ff78b8b59cb1d6c08dd67e5ddf355953208facc1
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Oct 27 09:10:31 2010 +0200
Class ChannelProductsDumper does not seem to be used, removing.
diff --git a/backend/satellite_tools/exporter/exportLib.py
b/backend/satellite_tools/exporter/exportLib.py
index 8c5f449..4161f8b 100644
--- a/backend/satellite_tools/exporter/exportLib.py
+++ b/backend/satellite_tools/exporter/exportLib.py
@@ -1501,25 +1501,6 @@ def _dbtime2timestamp(val):
return int(rhnLib.timestamp(val))
-class ChannelProductsDumper(BaseDumper):
-
- def set_iterator(self):
- h = rhnSQL.prepare("""
- select id, product, version, beta
- from rhnChannelProduct
- """)
- h.execute()
- return h
-
- def dump_subelement(self, data):
- attributes = {
- 'id' : "rhn-channel-product-id-%s" %
(data['id']),
- 'product' : data['product'],
- 'version' : data['version'],
- 'beta' : data['beta'],
- }
- EmptyDumper(self._writer, 'rhn-channel-product', attributes).dump()
-
class ProductNamesDumper(BaseDumper):
tag_name = "rhn-product-names"
Show replies by date