benjamin debugging stuff

This commit is contained in:
root 2008-11-13 11:00:54 +01:00
parent deb9540ec1
commit 58cb4ba37b
1 changed files with 4 additions and 0 deletions

View File

@ -756,11 +756,15 @@ class AlternateLibertyDirectory(authentic.liberty.root.RootDirectory):
if service_type == adeline_urn:
modify_oids = []
pp = ET.XML(resource_data)
print 'resource: ', resource_data
for oid in self.msp_oids:
name = self.msp_oids[oid]['name']
print 'name: ', name
item = pp.findall('{%s}%s' % (adeline_urn, name))
print 'item: ', item
if item:
item = item[0]
print 'item[0]: ', item
if item.text != dummy_value:
text = item.text
if text == None: