216 rpath = self.__findApplicationRoot() |
216 rpath = self.__findApplicationRoot() |
217 if rpath is None: |
217 if rpath is None: |
218 # no root path detected |
218 # no root path detected |
219 return |
219 return |
220 |
220 |
221 if FileSystemUtilities.isRemoteFileName(rpath): |
221 root = ( |
222 root = self.__remotefsInterface.splitdrive(rpath)[1][1:].replace( |
222 self.__remotefsInterface.splitdrive(rpath)[1][1:].replace( |
223 self.__remotefsInterface.separator(), "." |
223 self.__remotefsInterface.separator(), "." |
224 ) |
224 ) |
225 else: |
225 if FileSystemUtilities.isRemoteFileName(rpath) |
226 root = os.path.splitdrive(rpath)[1][1:].replace(os.sep, ".") |
226 else os.path.splitdrive(rpath)[1][1:].replace(os.sep, ".") |
|
227 ) |
227 |
228 |
228 packages = {} |
229 packages = {} |
229 self.__shapes = {} |
230 self.__shapes = {} |
230 |
231 |
231 modules = self.__buildModulesDict() |
232 modules = self.__buildModulesDict() |