Changeset 378

Show
Ignore:
Timestamp:
07/06/06 02:33:09
Author:
piv
Message:

fixed adapter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • geolocation/trunk/adapter.py

    r377 r378  
    4747def geoLocation(obj, portal, **kw): 
    4848    """ return the location list """ 
    49     if hasattr('geoLocation', obj): 
     49    if hasattr(obj, 'geoLocation'): 
    5050        return obj.geoLocation() 
    5151    adapter = IGEOLocated(obj, None)