Skip to content

Commit 6579306

Browse files
committed
further delegate fixes
1 parent 3cb3e7f commit 6579306

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fs/mountfs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ def getinfo(self, path, namespaces=None):
108108

109109
def listdir(self, path):
110110
self.check()
111-
fs, delegate_path = self._delegate(path)
112-
return fs.listdir(delegate_path)
111+
fs, _path = self._delegate(path)
112+
return fs.listdir(_path)
113113

114114
def makedir(self, path, permissions=None, recreate=False):
115115
self.check()
@@ -169,7 +169,7 @@ def gettype(self, path):
169169
def geturl(self, path, purpose='download'):
170170
self.check()
171171
fs, _path = self._delegate(path)
172-
return fs.geturl(path, purpose=purpose)
172+
return fs.geturl(_path, purpose=purpose)
173173

174174
def hasurl(self, path, purpose='download'):
175175
self.check()

0 commit comments

Comments
 (0)