Ejemplo n.º 1
0
 def get_location(self):
     location = getattr(self.context.aq_base, 'location', None)
     if not location:
         return None
     else:
         if isinstance(location, unicode):
             return get_location(self.context)
         else:
             return location.to_object
Ejemplo n.º 2
0
 def get_location(self):
     location = getattr(self.context.aq_base, 'location', None)
     if not location:
         return None
     else:
         if isinstance(location, unicode):
             return get_location(self.context)
         else:
             return location.to_object
Ejemplo n.º 3
0
 def get_location(self, event_accessor):
     return get_location(event_accessor.context)
Ejemplo n.º 4
0
 def get_location(self, event_accessor):
     return get_location(event_accessor.context)
Ejemplo n.º 5
0
 def get_location(self, occ):
     return get_location(occ)
Ejemplo n.º 6
0
 def get_location(self, event):
     return get_location(event)
Ejemplo n.º 7
0
 def get_location(self, event):
     return get_location(event)
Ejemplo n.º 8
0
 def get_location(self):
     return get_location(self.context)
Ejemplo n.º 9
0
 def get_location(self):
     return get_location(self.context)
Ejemplo n.º 10
0
 def get_location(self, occ):
     return get_location(occ)