From a438448da93be7e0a0bf2666f2489b7bb1ca0341 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Thu, 19 Mar 2015 19:19:52 +0530 Subject: [PATCH] updated hook name --- ee/cli/plugins/clean.py | 4 ++-- ee/cli/plugins/secure.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)