Fixup do_hook log calling to work

This commit is contained in:
James Page 2012-10-08 13:27:14 +01:00
parent 3a85f25402
commit e41b0f6da9

View File

@ -19,8 +19,8 @@ def do_hooks(hooks):
try: try:
hooks[hook]() hooks[hook]()
except KeyError: except KeyError:
utils.juju_log('INFO', juju_log('INFO',
"This charm doesn't know how to handle '{}'.".format(hook)) "This charm doesn't know how to handle '{}'.".format(hook))
def install(*pkgs): def install(*pkgs):