backend/satellite_tools/xmlSource.py | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 2948a21648d2c78bc204bd4be8f1da02c8532f38
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon May 3 12:07:24 2010 +0200
585233 - the has-comps attribute will no longer be used by hosted.
diff --git a/backend/satellite_tools/xmlSource.py b/backend/satellite_tools/xmlSource.py
index 1da46f2..13ae0ad 100644
--- a/backend/satellite_tools/xmlSource.py
+++ b/backend/satellite_tools/xmlSource.py
@@ -464,15 +464,11 @@ class ChannelItem(BaseItem):
'rhn-channel-receiving-updates' : 'receiving_updates',
'rhn-channel-checksum-type' : 'checksum_type',
'rhn-channel-comps-last-modified' : 'comps_last_modified',
- 'has-comps' : 'has_comps',
}
def populateFromElements(self, obj, elements):
BaseItem.populateFromElements(self, obj, elements)
if obj['checksum_type'] == 'sha':
obj['checksum_type'] = 'sha1'
- if (not obj.has_key('comps_last_modified') or
obj['comps_last_modified'] == None) \
- and (obj.has_key('has_comps') and obj['has_comps'] ==
'True'):
- obj['comps_last_modified'] = obj['last_modified']
addItem(ChannelItem)
class BaseChecksummedItem(BaseItem):
Show replies by date