[Piglit] [PATCH] core.py: Remove warning about piglit.conf

Ilia Mirkin imirkin at alum.mit.edu
Tue Aug 12 14:51:59 PDT 2014


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

I'm definitely one of the people being annoyed :)

On Tue, Aug 12, 2014 at 5:44 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> This warning annoys some people, and it isn't strictly necissary, so I
> guess it should go.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  framework/core.py | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/framework/core.py b/framework/core.py
> index d3922a9..d5f1fcc 100644
> --- a/framework/core.py
> +++ b/framework/core.py
> @@ -56,12 +56,7 @@ def get_config(arg=None):
>                  break
>              except IOError:
>                  pass
> -        else:
> -            if __debug__:
> -                print('Warning: piglit.conf not found!\n'
> -                      '(searching current dir, $HOME/.config, '
> -                      '$XDG_CONFIG_HOME, and piglit source dir)',
> -                      file=sys.stderr)
> +
>
>  # Ensure the given directory exists
>  def checkDir(dirname, failifexists):
> --
> 2.0.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list