Ignore:
Timestamp:
12/02/09 17:40:48 (11 years ago)
Author:
cbyrom
Message:

Various fixes, tidy ups and simplications to ndgCommon codebase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/dal/ndgDirectory.py

    r4931 r4970  
    6363        et = ET.fromstring(doc[0]) 
    6464        for member in et: 
    65             #fn = member.findtext('{%s}fileName'%self.ns) 
    66             #eid = member.findtext('{%s}repositoryID'%self.ns) 
    67             #c = member.findtext('{%s}created'%self.ns) 
    68             fn = member.findtext('fileName') 
    69             eid = member.findtext('repositoryID') 
    70             c = member.findtext('created') 
     65            fn = member.findtext('{%s}fileName'%self.ns) 
     66            eid = member.findtext('{%s}repositoryID'%self.ns) 
     67            c = member.findtext('{%s}created'%self.ns) 
    7168            self.members.append({'fileName':fn,'EntryID':eid,'created':c}) 
    7269         
Note: See TracChangeset for help on using the changeset viewer.