diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-10-20 02:06:54 +0100 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-10-20 02:06:54 +0100 |
commit | 117a2e5cd65410693037493b8686c40fe2196f41 (patch) | |
tree | 87ec5399017003876caf4cd98081c83ab23dc7e5 /kbas | |
parent | 8a7662b4b998b69c742f0ceac820f52994621266 (diff) | |
download | ybd-117a2e5cd65410693037493b8686c40fe2196f41.tar.gz |
We only need one timestamp
Diffstat (limited to 'kbas')
-rwxr-xr-x | kbas/__main__.py | 4 |
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') |