self.delete(name)
return super(OverwriteStorage, self)._save(name, content)
- def get_available_name(self, name):
+ def get_available_name(self, name, max_length):
return name
def all_files(root_path):
root_len = len(root_path)
for path, dirs, files in os.walk(root_path):
- for fname in files:
- yield os.path.join(path, fname)[root_len:].lstrip('/')
+ for fname in files:
+ yield os.path.join(path, fname)[root_len:].lstrip('/')