monitor_db.py: Fix SyntaxWarning

I've noticed that monitor_db.py issues a SyntaxWarning
as soon as it is started:

19:56:55 INFO | Killing monitor_db
19:56:55 INFO | STARTING monitor_db with log file
/usr/local/autotest/logs/scheduler.log.2010-04-15-19.56.55
/usr/local/autotest/scheduler/monitor_db.py:1779: SyntaxWarning:
assertion is always true, perhaps remove parentheses?
  assert (self.TASK_TYPE is not None,

I noticed that the whole statement fits under 80 chars,
so the parenthesis can be removed safely, getting rid of
the warning.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4421 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed