- Timestamp:
- 03/27/12 10:15:44 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jsnyder/trunk/tools/WaveDev/wavedev/importResource.py
r10825 r11083 30 30 31 31 def getResource(path,Rname,parent): 32 scdPath = findFile(path,Rname,".scd.xml") 32 scdPath = findFile(path,Rname,".scd.xml") 33 33 if scdPath == None: 34 34 errorMsg(parent,"No scd file found for: " + Rname) … … 165 165 simpleSequenceProps = [] 166 166 implementationNodes = doc_spd.getElementsByTagName("implementation") 167 168 167 for node in implementationNodes: 168 simpleProps = [] 169 simpleSequenceProps = [] 170 propertyFile = '' 169 171 id = node.getAttribute("id") 170 172 tmp = node.getElementsByTagName("description") … … 200 202 201 203 newComp.implementations.append(newImplementation) 202 204 # print newComp.name + ' summary:' 205 # print 'Main properties: ' 206 # for prop in newComp.properties: 207 # print ' ' + prop.name 208 # print 'Implementations:' 209 # for imp in newComp.implementations: 210 # print imp.processor 211 # for prop in imp.properties: 212 # print ' ' + prop.name 203 213 return newComp 204 214 … … 265 275 p = getSimpleSequenceProperty(node, propertyFile) 266 276 if p == None: 267 print "There was an error parsing simple sequence properties in the PRF file " + prope tyFile277 print "There was an error parsing simple sequence properties in the PRF file " + propertyFile 268 278 continue 269 279 props.append(p)