Ejemplo n.º 1
0
 def readFiles(self,parent,path):
     for f in oslistdir(path):
         if ospathisdir(ospathjoin(path,f)):
             d = Dir(parent,f,path)
             self.readFiles(d,ospathjoin(path,f))    
         else:
             if not ospathjoin(f).startswith('.'):
                     File(parent,f,path)
Ejemplo n.º 2
0
 def readMainFiles(self,parent,path):
     for f in oslistdir(path):
         if not ospathisdir(ospathjoin(path,f)):
             if not ospathjoin(f).startswith('.'):
                     File(parent,f,path)
Ejemplo n.º 3
0
 def readMainDir(self,parent,path):
     for d in oslistdir(path):
         if  ospathisdir(ospathjoin(path,d)):
             if not ospathjoin(d).startswith('.'):
                 i = Dir(parent,d,path)
                 self.readMainFiles(i,ospathjoin(path,d))