From: Dylan Baker <[email protected]>

This allows callers that don't want to fail to leave the keyword out. It
doesn't affect those that set it to true.

Signed-off-by: Dylan Baker <[email protected]>
---
 framework/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/core.py b/framework/core.py
index dfab227..97b9a4b 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -115,7 +115,7 @@ def get_config(arg=None):
 
 
 # Ensure the given directory exists
-def check_dir(dirname, failifexists):
+def check_dir(dirname, failifexists=False):
     try:
         os.stat(dirname)
     except OSError as e:
-- 
2.8.2

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to