rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive directory listing (`os.listdir`)
This commit is contained in:
parent
4d3603136f
commit
656c818211
5 changed files with 24 additions and 6 deletions
|
@ -458,7 +458,7 @@ class ContentManager(object):
|
|||
ignored = True
|
||||
self.log.error("- [ERROR] Only ascii encoded directories allowed: %s" % dir_inner_path)
|
||||
|
||||
for file_relative_path in self.site.storage.list(dir_inner_path):
|
||||
for file_relative_path in self.site.storage.walk(dir_inner_path):
|
||||
file_name = helper.getFilename(file_relative_path)
|
||||
|
||||
ignored = optional = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue