aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Jackman <brendan.jackman@arm.com>2017-12-07 14:58:20 +0000
committermarcbonnici <marc.bonnici@arm.com>2017-12-07 15:37:49 +0000
commit07243740d6e39723a4675e5f3197a861f4920c02 (patch)
tree926d5e2a9fd0f7cd5600ca25a656d4e015dbe11c
parent56674aa3a949fafe866cf3b16a7af25dac55ea78 (diff)
framework/plugin: Calm pylint
-rw-r--r--wa/framework/plugin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wa/framework/plugin.py b/wa/framework/plugin.py
index 73a76924..b1eac721 100644
--- a/wa/framework/plugin.py
+++ b/wa/framework/plugin.py
@@ -65,6 +65,7 @@ class AttributeCollection(object):
if v is not None:
setattr(newp, a, v)
if not hasattr(newp, "_overridden"):
+ # pylint: disable=protected-access
newp._overridden = p._owner
self._attrs[p.name] = newp
else:
@@ -113,6 +114,7 @@ class AliasCollection(AttributeCollection):
def _to_attrcls(self, p):
if isinstance(p, (list, tuple)):
# must be in the form (name, {param: value, ...})
+ # pylint: disable=protected-access
p = self._attrcls(p[1], **p[1])
elif not isinstance(p, self._attrcls):
raise ValueError('Invalid parameter value: {}'.format(p))