Diff for /ECHO_content/ECHO_collection.py between versions 1.69 and 1.70

version 1.69, 2004/05/07 16:52:04 version 1.70, 2004/05/07 17:09:07
Line 936  class ECHO_collection(Folder, Persistent Line 936  class ECHO_collection(Folder, Persistent
                     if len(coordtemp)>3:                      if len(coordtemp)>3:
                         coord=coordtemp[0:4]                          coord=coordtemp[0:4]
                         label=""                          label=""
               vc=""
                         if hasattr(object,'label') and not object.label=="":                          if hasattr(object,'label') and not object.label=="":
                             label=object.label                              label=object.label
                         elif hasattr(object,'title') and not object.title=="":                          elif hasattr(object,'title') and not object.title=="":
                             label=object.title                              label=object.title
                         else:                          else:
                             label=object.getId()                              label=object.getId()
                         ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,object.viewClassification])              if object.viewClassification != "":
                   vc=object.viewClassification
               else:
                   if len(coordtemp) > 4 and coordtemp[4] != "":
                   vc="view point"
                   else:
                   vc="area"
                           ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,vc])
         return ids          return ids
           
   

Removed from v.1.69  
changed lines
  Added in v.1.70


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>