3 modules = [ e[:-3]
for e
in os.environ
if e[-3:].upper() ==
'SHR']
5 try: properties = gaudimodule.getComponentProperties(m)
9 print 'Properties of %s %s in library %s' % (properties[c][0], c, m)
11 for p
in properties[c][1] :
12 value = properties[c][1][p]
13 if type(value)
is str :
14 print "%-30s = '%s'" % ( c+
'.'+p , value)
16 print "%-30s = %s" % ( c+
'.'+p , str(value))