summaryrefslogtreecommitdiff
path: root/kbas
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-20 02:06:54 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-20 02:06:54 +0100
commit117a2e5cd65410693037493b8686c40fe2196f41 (patch)
tree87ec5399017003876caf4cd98081c83ab23dc7e5 /kbas
parent8a7662b4b998b69c742f0ceac820f52994621266 (diff)
downloadybd-117a2e5cd65410693037493b8686c40fe2196f41.tar.gz
We only need one timestamp
Diffstat (limited to 'kbas')
-rwxr-xr-xkbas/__main__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py
index b75fe60..3082b11 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -62,9 +62,7 @@ class KeyedBinaryArtifactServer(object):
os.chdir(app.config['artifact-dir'])
names = glob.glob('*' + name + '*')
content = [[x, strftime('%y-%m-%d %H:%M:%S',
- gmtime(os.path.getmtime(x))),
- strftime('%y-%m-%d %H:%M:%S',
- gmtime(os.path.getctime(x)))]
+ gmtime(os.path.getctime(x)))]
for x in names]
os.chdir(current_dir)
return template('kbas', rows=sorted(content), css='/static/style.css')