Fix errors found by lint.

Signed-off-by: Jeremy Orlow <jorlow@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1712 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/frontend.py b/tko/frontend.py
index 45de298..60b6e1f 100755
--- a/tko/frontend.py
+++ b/tko/frontend.py
@@ -281,10 +281,9 @@
     def __init__(self, db, job_idx):
         where = {'job_idx' : job_idx}
         rows = db.select('tag, machine_idx', 'jobs', where)
-        if not rows:
-            return None
-        (self.tag, self.machine_idx) = rows[0]
-        self.job_idx = job_idx
+        if rows:
+            self.tag, self.machine_idx = rows[0]
+            self.job_idx = job_idx
 
 
 class iteration: