[Piglit] [PATCH 03/10] profile.py: use grouptools

Dylan Baker baker.dylan.c at gmail.com
Thu Dec 4 15:10:00 PST 2014


---
 framework/profile.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/framework/profile.py b/framework/profile.py
index d3aba73..270da1c 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -36,6 +36,7 @@ import importlib
 from framework.dmesg import get_dmesg
 from framework.log import LogManager
 from framework.test.base import Test
+import framework.grouptools as grouptools
 
 __all__ = [
     'TestProfile',
@@ -104,7 +105,7 @@ class TestProfile(object):
         def f(prefix, group, test_dict):
             """ Recursively flatter nested dictionary tree """
             for key, value in group.iteritems():
-                fullkey = os.path.join(prefix, key)
+                fullkey = grouptools.join(prefix, key)
                 if isinstance(value, dict):
                     f(fullkey, value, test_dict)
                 else:
-- 
2.2.0



More information about the Piglit mailing list