Beispiel #1
0
 def _addPyMods(self, pypath, prod=''):
     from Explorers import Explorer
     Explorer.listdirEx(pypath, '.zexp')
     mods = []
     fls = Explorer.listdirEx(pypath, '.py')
     for file in fls:
         mods.append(prod +(prod and '.')+os.path.splitext(file)[0])
     return mods
Beispiel #2
0
 def _addPyMods(self, pypath, prod=''):
     from Explorers import Explorer
     Explorer.listdirEx(pypath, '.zexp')
     mods = []
     fls = Explorer.listdirEx(pypath, '.py')
     for file in fls:
         mods.append(prod + (prod and '.') + os.path.splitext(file)[0])
     return mods
Beispiel #3
0
 def listImportFiles(self):
     if self.properties.has_key(
             'localpath') and self.properties['localpath']:
         from Explorers import Explorer
         return Explorer.listdirEx(self.properties['localpath'] + '/import',
                                   '.zexp')
     else:
         return []
 def listImportFiles(self):
     if self.properties.has_key('localpath') and self.properties['localpath']:
         from Explorers import Explorer
         return Explorer.listdirEx(self.properties['localpath']+'/import', '.zexp')
     else:
         return []