Log renaming
This commit is contained in:
parent
f318f76994
commit
043ac5a510
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ class ContentManager(object):
|
||||||
deleted, renamed = self.getFileChanges(old_files, new_files)
|
deleted, renamed = self.getFileChanges(old_files, new_files)
|
||||||
|
|
||||||
for relative_path_old, relative_path_new in renamed.items():
|
for relative_path_old, relative_path_new in renamed.items():
|
||||||
|
self.log.debug("Renaming: %s -> %s" % (relative_path_old, relative_path_new))
|
||||||
if relative_path_new in new_content.get("files_optional", {}):
|
if relative_path_new in new_content.get("files_optional", {}):
|
||||||
self.optionalRenamed(content_inner_dir + relative_path_old, content_inner_dir + relative_path_new)
|
self.optionalRenamed(content_inner_dir + relative_path_old, content_inner_dir + relative_path_new)
|
||||||
if self.site.storage.isFile(relative_path_old):
|
if self.site.storage.isFile(relative_path_old):
|
||||||
|
|
Loading…
Reference in a new issue