1143 self.pfile = fn |
1143 self.pfile = fn |
1144 self.ppath = self.__remotefsInterface.dirname(fn) |
1144 self.ppath = self.__remotefsInterface.dirname(fn) |
1145 self.name = self.__remotefsInterface.splitext( |
1145 self.name = self.__remotefsInterface.splitext( |
1146 self.__remotefsInterface.basename(fn) |
1146 self.__remotefsInterface.basename(fn) |
1147 )[0] |
1147 )[0] |
1148 # TODO: read in a file system cache of ppath |
|
1149 self.__remotefsInterface.populateFsCache(self.ppath) |
1148 self.__remotefsInterface.populateFsCache(self.ppath) |
1150 else: |
1149 else: |
1151 self.pfile = os.path.abspath(fn) |
1150 self.pfile = os.path.abspath(fn) |
1152 self.ppath = os.path.abspath(os.path.dirname(fn)) |
1151 self.ppath = os.path.abspath(os.path.dirname(fn)) |
1153 self.name = os.path.splitext(os.path.basename(fn))[0] |
1152 self.name = os.path.splitext(os.path.basename(fn))[0] |