From d5b0d8fe52d05478ac95fba5cb7461f8b9400ee6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 21 Jul 2015 11:29:07 +0200 Subject: [PATCH] print_jobhistory: Remove unused variables --- osc/core.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/osc/core.py b/osc/core.py index 36201512..02dbe625 100644 --- a/osc/core.py +++ b/osc/core.py @@ -5769,9 +5769,6 @@ def print_jobhistory(apiurl, prj, current_package, repository, arch, format = 't if not reason: reason = "unknown" code = node.get('code') - rt = int(node.get('readytime')) - readyt = time.gmtime(rt) - readyt = time.strftime('%Y-%m-%d %H:%M:%S %Z', readyt) st = int(node.get('starttime')) et = int(node.get('endtime')) endtime = time.strftime('%Y-%m-%d %H:%M:%S %Z', time.gmtime(et))