Exemple #1
0
 def _split(self, path):
     # This is not quite a full implementation of os.path.split
     # http://docs.python.org/library/os.path.html#os.path.split
     if self.sep in path:
         return path.rsplit(self.sep, 1)
     return ('', path)
Exemple #2
0
 def _split(self, path):
     return path.rsplit(self.sep, 1)
Exemple #3
0
 def _split(self, path):
     # This is not quite a full implementation of os.path.split
     # http://docs.python.org/library/os.path.html#os.path.split
     if self.sep in path:
         return path.rsplit(self.sep, 1)
     return ('', path)
Exemple #4
0
 def _split(self, path):
     return path.rsplit(self.sep, 1)