Example #1
0
 def __init__(self, *args, **kw):
     CNXMLFile.__init__(self, *args, **kw)
     File.__init__(self, *args, **kw)
     # Manually set the ID because File is currently broken and deleting __name__,
     # which is where the id is actually stored.  We should probably migrate this to
     # using the ATCT File, which does work.
     self.__name__ = args[0]
Example #2
0
 def __init__(
     self,
     id,
     title='',
     description='',
     relativeFilePath='',
 ):
     CVSFile.__init__(self, id, title, description, relativeFilePath)
     File.__init__(self, id, title, relativeFilePath)
     OMF.__init__(self)
     self.data = ''