From e41b0f6da952cdf2fc4317512a203ff2deb59f41 Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 8 Oct 2012 13:27:14 +0100 Subject: [PATCH] Fixup do_hook log calling to work --- hooks/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/utils.py b/hooks/utils.py index 9797ba6..64c578e 100644 --- a/hooks/utils.py +++ b/hooks/utils.py @@ -19,8 +19,8 @@ def do_hooks(hooks): try: hooks[hook]() except KeyError: - utils.juju_log('INFO', - "This charm doesn't know how to handle '{}'.".format(hook)) + juju_log('INFO', + "This charm doesn't know how to handle '{}'.".format(hook)) def install(*pkgs):