Browse Source

updated hook name

bugfixes
harshadyeola 10 years ago
parent
commit
a438448da9
  1. 4
      ee/cli/plugins/clean.py
  2. 4
      ee/cli/plugins/secure.py

4
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)

4
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)

Loading…
Cancel
Save