diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2017-03-09 14:56:24 +1300 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2017-06-23 02:25:25 +0200 |
commit | 84ea6bc645ac04fcd77941a4fe3f74b0e46e556f (patch) | |
tree | a6af10770c44fcb670f155a80e844c5de356e1b4 /third_party/waf/wafadmin | |
parent | d5b123e46161da9b3c1c9220bb79e985855bdf1e (diff) | |
download | samba-84ea6bc645ac04fcd77941a4fe3f74b0e46e556f.tar.gz |
waf/wafadmin/3rdparty: fix paranoid.py variable names
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'third_party/waf/wafadmin')
-rw-r--r-- | third_party/waf/wafadmin/3rdparty/paranoid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/waf/wafadmin/3rdparty/paranoid.py b/third_party/waf/wafadmin/3rdparty/paranoid.py index ba6d7528949..13dfb68ef0d 100644 --- a/third_party/waf/wafadmin/3rdparty/paranoid.py +++ b/third_party/waf/wafadmin/3rdparty/paranoid.py @@ -21,9 +21,9 @@ say('you make the errors, we detect them') def check_task_classes(self): for x in Task.TaskBase.classes: if isinstance(x, Task.Task): - if not getattr(cls, 'ext_in', None) or getattr(cls, 'before', None): + if not getattr(x, 'ext_in', None) or getattr(x, 'before', None): say('class %s has no precedence constraints (ext_in/before)') - if not getattr(cls, 'ext_out', None) or getattr(cls, 'after', None): + if not getattr(x, 'ext_out', None) or getattr(x, 'after', None): say('class %s has no precedence constraints (ext_out/after)') comp = Build.BuildContext.compile |