I don't think we need _create_dirs_for_filepath.
This commit is contained in:
parent
779f2b9411
commit
1118858140
@ -144,12 +144,6 @@ class BasicFileStorage(StorageInterface):
|
|||||||
return os.path.join(
|
return os.path.join(
|
||||||
self.base_dir, *clean_listy_filepath(filepath))
|
self.base_dir, *clean_listy_filepath(filepath))
|
||||||
|
|
||||||
def _create_dirs_for_filepath(self, filepath):
|
|
||||||
"""
|
|
||||||
Create any necessary directories for filepath
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
||||||
def file_exists(self, filepath):
|
def file_exists(self, filepath):
|
||||||
return os.path.exists(self._resolve_filepath(filepath))
|
return os.path.exists(self._resolve_filepath(filepath))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user