summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-03-20 19:12:25 +0100
committerHelmut Grohne <helmut@subdivi.de>2013-03-20 19:12:25 +0100
commit23d5ba7d2bcbfc285cd8e27a9af0bffdf0a98f05 (patch)
treecd089b3fd9b8d4e134f9fbc6632c230c095a7fd5
parent8693afe74a0d9f33b0f23cb1fb60ede5c051608d (diff)
downloaddebian-dedup-23d5ba7d2bcbfc285cd8e27a9af0bffdf0a98f05.tar.gz
webapp: remove broken assert
Fails on long inputs.
-rwxr-xr-xwebapp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/webapp.py b/webapp.py
index 6c06e28..e234596 100755
--- a/webapp.py
+++ b/webapp.py
@@ -21,7 +21,6 @@ hash_functions = [
jinjaenv = jinja2.Environment(loader=jinja2.FileSystemLoader("."))
def format_size(size):
- assert isinstance(size, int)
size = float(size)
fmt = "%d B"
if size >= 1024: