[Piglit] [PATCH] core.py: Remove warning about piglit.conf
Dylan Baker
baker.dylan.c at gmail.com
Tue Aug 12 14:44:25 PDT 2014
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
More information about the Piglit
mailing list