diff --git a/ee/cli/plugins/clean.py b/ee/cli/plugins/clean.py index b0f09e0d..9f1ca087 100644 --- a/ee/cli/plugins/clean.py +++ b/ee/cli/plugins/clean.py @@ -10,7 +10,7 @@ import os import urllib.request -def clean_plugin_hook(app): +def ee_clean_hook(app): # do something with the ``app`` object here. pass @@ -87,4 +87,4 @@ def load(app): # register the plugin class.. this only happens if the plugin is enabled handler.register(EECleanController) # register a hook (function) to run after arguments are parsed. - hook.register('post_argument_parsing', clean_plugin_hook) + hook.register('post_argument_parsing', ee_clean_hook) diff --git a/ee/cli/plugins/secure.py b/ee/cli/plugins/secure.py index 3dddc9a7..02c20bb3 100644 --- a/ee/cli/plugins/secure.py +++ b/ee/cli/plugins/secure.py @@ -12,7 +12,7 @@ import hashlib import getpass -def secure_plugin_hook(app): +def ee_secure_hook(app): # do something with the ``app`` object here. pass @@ -139,4 +139,4 @@ def load(app): # register the plugin class.. this only happens if the plugin is enabled handler.register(EESecureController) # register a hook (function) to run after arguments are parsed. - hook.register('post_argument_parsing', secure_plugin_hook) + hook.register('post_argument_parsing', ee_secure_hook)