[Piglit] [PATCH 03/12] registry/gl.py: fix no-attribute error
Dylan Baker
baker.dylan.c at gmail.com
Tue Jan 13 17:48:13 PST 2015
The Command class defines self.requirements, but not
self.__requirements, but the vendor_namespace property checks
self.__requirements.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
registry/gl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/registry/gl.py b/registry/gl.py
index 9e0e7c8..6136f5c 100644
--- a/registry/gl.py
+++ b/registry/gl.py
@@ -785,7 +785,7 @@ class Command(object):
@property
def vendor_namespace(self):
if self.__vendor_namespace is None:
- for req in self.__requirements:
+ for req in self.requirements:
ext = req.extension
if ext is None:
continue
--
2.2.1
More information about the Piglit
mailing list