示例#1
0
文件: file.py 项目: olavgg/py-sth
 def __init__(self, values):
     """ Constructor """
     Node.__init__(self, values)
     self.__parent = Node.get_instance(self.get_parent())
     self.__size = values['size']
示例#2
0
文件: folder.py 项目: olavgg/py-sth
 def __init__(self, values):
     """ Constructor """
     Node.__init__(self, values)
     self.__parent = Node.get_instance(self.get_parent())
     self.__files = []
     self.__folders = []