1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-24 11:12:14 +01:00

print_jobhistory: Remove unused variables

This commit is contained in:
Andreas Schwab 2015-07-21 11:29:07 +02:00
parent e9d7ac9c82
commit d5b0d8fe52

View File

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