Ejemplo n.º 1
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     BaseClass.__init__(self, id, filepath, fullname, properties)
     self.filepath = self._filepath = filepath  # add _filepath for compatibility with pending CMF patch
     try:
         self._read_action_metadata(self.getId(), filepath)
         self._read_validator_metadata(self.getId(), self.filepath)
     except (ValueError, CompilerError), e:
         log(summary="metadata error", text="file = %s" % filepath)
         raise
Ejemplo n.º 2
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     BaseClass.__init__(self, id, filepath, fullname, properties)
     self.filepath = self._filepath = filepath  # add _filepath for compatibility with pending CMF patch
     try:
         self._read_action_metadata(self.getId(), filepath)
         self._read_validator_metadata(self.getId(), self.filepath)
     except (ValueError, CompilerError), e:
         log(summary='metadata error', text='file = %s' % filepath)
         raise
Ejemplo n.º 3
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     BaseClass.__init__(self, id, filepath, fullname, properties)
     self.filepath = filepath
     self._read_action_metadata(self.getId(), filepath)
Ejemplo n.º 4
0
 def __init__(self, id, filepath, fullname=None, properties=None):
     BaseClass.__init__(self, id, filepath, fullname, properties)
     self.filepath = filepath
     self._read_action_metadata(self.getId(), filepath)