projects
/
~helmut
/
debian-dedup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b0d1e
)
webapp: fix problem from the previous merge
author
Helmut Grohne
<helmut@subdivi.de>
Tue, 26 Mar 2013 15:23:37 +0000
(16:23 +0100)
committer
Helmut Grohne
<helmut@subdivi.de>
Tue, 26 Mar 2013 15:23:37 +0000
(16:23 +0100)
webapp.py
patch
|
blob
|
history
diff --git
a/webapp.py
b/webapp.py
index
dc439a1
..
4ae9af5
100755
(executable)
--- a/
webapp.py
+++ b/
webapp.py
@@
-240,7
+240,7
@@
class Application(object):
details = dict(package=package,
version=version,
architecture=architecture)
- cur.execute("SELECT count(filename), sum(size) FROM content WHERE package = ?
AND function = 'sha512'
;",
+ cur.execute("SELECT count(filename), sum(size) FROM content WHERE package = ?;",
(package,))
num_files, total_size = cur.fetchone()
details.update(dict(num_files=num_files, total_size=total_size))