Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

`copy_plugins_to` should return copied plugins for additional

post-processing to be possible.
  • Loading branch information...
commit 8db2a2491f2faa09ecb61fa820de50e6a5c47073 1 parent e89fa47
@mitar authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 cms/utils/copy_plugins.py
View
4 cms/utils/copy_plugins.py
@@ -18,4 +18,6 @@ def copy_plugins_to(plugin_list, to_placeholder, to_language = None):
for new_plugin, old_plugin in plugins_ziplist:
new_instance = new_plugin.get_plugin_instance()[0]
if new_instance:
- new_instance.post_copy(old_plugin, plugins_ziplist)
+ new_instance.post_copy(old_plugin, plugins_ziplist)
+ # returns information about originals and copies
+ return plugins_ziplist
Please sign in to comment.
Something went wrong with that request. Please try again.