mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
'is not None' is unnecessary
This commit is contained in:
parent
87403f4285
commit
54d4ff7ce0
@ -82,7 +82,7 @@ class doxygen(Task.Task):
|
||||
self.pars['OUTPUT_DIRECTORY'] = self.inputs[0].parent.get_bld().abspath()
|
||||
|
||||
# Override with any parameters passed to the task generator
|
||||
if getattr(self.generator, 'pars', None) is not None:
|
||||
if getattr(self.generator, 'pars', None):
|
||||
for k, v in self.generator.pars.iteritems():
|
||||
self.pars[k] = v
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user