2
0
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:
Thomas Nagy 2013-09-28 23:52:19 +02:00
parent 87403f4285
commit 54d4ff7ce0

View File

@ -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