##// END OF EJS Templates
store: use "vfs.exists()" instead of "os.path.exists()"
FUJIWARA Katsunori -
r19903:ca875b27 default
parent child Browse files
Show More
@@ -344,12 +344,12 b' class basicstore(object):'
344 344 '''Checks if the store contains path'''
345 345 path = "/".join(("data", path))
346 346 # file?
347 if os.path.exists(self.join(path + ".i")):
347 if self.vfs.exists(path + ".i"):
348 348 return True
349 349 # dir?
350 350 if not path.endswith("/"):
351 351 path = path + "/"
352 return os.path.exists(self.join(path))
352 return self.vfs.exists(path)
353 353
354 354 class encodedstore(basicstore):
355 355 def __init__(self, path, vfstype):
General Comments 0
You need to be logged in to leave comments. Login now