Return to ECHO_Nav.py CVS log | Up to [Repository] / ECHO_content |
version 1.51, 2004/11/27 22:38:43 | version 1.52, 2005/01/21 13:29:15 |
---|---|
Line 628 class ECHO_navigation(Folder): | Line 628 class ECHO_navigation(Folder): |
for x in hash.keys(): | for x in hash.keys(): |
#print hash[x][1] | #print hash[x][1] |
if hasattr(hash[x][1],field): | if hasattr(hash[x][1],field): |
try: | |
weight=int(getattr(hash[x][1],field)) | |
except: | |
weight=getattr(hash[x][1],field) | weight=getattr(hash[x][1],field) |
#print weight | #print weight |
else: | else: |