78
75
This can be supplied with a string or a list
80
77
if isinstance(relpath, basestring):
82
89
basepath = self._path.split('/')
83
90
if len(basepath) > 0 and basepath[-1] == '':
89
95
# In most filesystems, a request for the parent
90
96
# of root, just returns root.
99
103
# Possibly, we could use urlparse.urljoin() here, but
100
104
# I'm concerned about when it chooses to strip the last
101
105
# portion of the path, and when it doesn't.