From 54d4ff7ce0513de04b497aa9a47a8a0217d2a4d8 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 28 Sep 2013 23:52:19 +0200 Subject: [PATCH] 'is not None' is unnecessary --- waflib/extras/doxygen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/extras/doxygen.py b/waflib/extras/doxygen.py index 51751888..4316d7f9 100644 --- a/waflib/extras/doxygen.py +++ b/waflib/extras/doxygen.py @@ -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