On Fri,  9 Oct 2015 15:36:07 -0400
Mike Frysinger <[email protected]> wrote:

> ---
>  catalyst/config.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/catalyst/config.py b/catalyst/config.py
> index ffad9b3..db81a96 100644
> --- a/catalyst/config.py
> +++ b/catalyst/config.py
> @@ -1,5 +1,7 @@
>  
>  import re
> +
> +from catalyst import log
>  from catalyst.support import CatalystError
>  
>  class ParserBase(object):
> @@ -98,7 +100,7 @@ class ParserBase(object):
>                       for x in values.keys():
>                               # Delete empty key pairs
>                               if not values[x]:
> -                                     print "\n\tWARNING: No value
> set for key " + x + "...deleting"
> +                                     log.warning('No value set
> for key "%s"; deleting', x) del values[x]
>  
>               self.values = values


you have a go for all 4 in this series :)

-- 
Brian Dolbec <dolsen>


Reply via email to