Log renaming

This commit is contained in:
shortcutme 2019-05-02 17:17:00 +02:00
parent f318f76994
commit 043ac5a510
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class ContentManager(object):
deleted, renamed = self.getFileChanges(old_files, new_files)
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", {}):
self.optionalRenamed(content_inner_dir + relative_path_old, content_inner_dir + relative_path_new)
if self.site.storage.isFile(relative_path_old):