summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-01-09 13:06:15 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2015-01-28 12:08:09 -0800
commitd5ed7af5ea7859f919f4c02f222cf1ed6712bcba (patch)
tree229d5d853406e505164be608c4afed1b0c2e8fb6 /registry
parentdb87e61be365ac54c4e700198fb62e05d05a9e05 (diff)
registry/gl.py: fix no-attribute error
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@intel.com>
Diffstat (limited to 'registry')
-rw-r--r--registry/gl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/gl.py b/registry/gl.py
index 9e0e7c80d..6136f5c60 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