71 """ |
71 """ |
72 hasInit = True |
72 hasInit = True |
73 ppath = self.packagePath |
73 ppath = self.packagePath |
74 |
74 |
75 if FileSystemUtilities.isRemoteFileName(self.packagePath): |
75 if FileSystemUtilities.isRemoteFileName(self.packagePath): |
76 self.package = ( |
76 self.package = self.__remotefsInterface.splitdrive(self.packagePath)[1][ |
77 self.__remotefsInterface.splitdrive(self.packagePath)[1][ |
77 1: |
78 1: |
78 ].replace(self.__remotefsInterface.separator(), ".") |
79 ].replace(self.__remotefsInterface.separator(), ".") |
|
80 ) |
|
81 while hasInit: |
79 while hasInit: |
82 ppath = self.__remotefsInterface.dirname(ppath) |
80 ppath = self.__remotefsInterface.dirname(ppath) |
83 globPattern = self.__remotefsInterface.join(ppath, "__init__.*") |
81 globPattern = self.__remotefsInterface.join(ppath, "__init__.*") |
84 hasInit = len(self.__remotefsInterface.glob(globPattern)) > 0 |
82 hasInit = len(self.__remotefsInterface.glob(globPattern)) > 0 |
85 else: |
83 else: |