[Kimchi-devel] [PATCH 2/2] Issue #737 : fix to remove multiple calls for resource lookup

Aline Manera alinefm at linux.vnet.ibm.com
Thu Oct 8 23:00:07 UTC 2015


There are tests failing with this patch.
Please, run "make check" on wok and kimchi to make sure your patch does 
not break anything.

On 05/10/2015 12:50, archus at linux.vnet.ibm.com wrote:
> From: Archana Singh <archus at linux.vnet.ibm.com>
>
> Signed-off-by: Archana Singh <archus at linux.vnet.ibm.com>
> ---
>   src/wok/control/base.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/wok/control/base.py b/src/wok/control/base.py
> index 5c5c95f..912ed16 100644
> --- a/src/wok/control/base.py
> +++ b/src/wok/control/base.py
> @@ -163,7 +163,7 @@ class Resource(object):
>                                    self.role_key, self.admin_methods)
>
>           try:
> -            self.lookup()
> +            self.info = {}
>               if not self.is_authorized():
>                   raise UnauthorizedError('WOKAPI0009E')
>




More information about the Kimchi-devel mailing list