diff options
author | cce <devnull@localhost> | 2005-12-29 18:29:56 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-29 18:29:56 +0000 |
commit | cfd5e92779fb1da95a03db2b725dc8fbc701bfcb (patch) | |
tree | 27694720c4e8fc8984b48cd5bba1c3739747d931 /paste/httpheaders.py | |
parent | f87a855e602b14e0e84d5baff55b6c68bc59adc6 (diff) | |
download | paste-cfd5e92779fb1da95a03db2b725dc8fbc701bfcb.tar.gz |
oops
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r-- | paste/httpheaders.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py index c65f83a..1c919e0 100644 --- a/paste/httpheaders.py +++ b/paste/httpheaders.py @@ -398,7 +398,7 @@ class MultiValueHeader(HTTPHeader): def format(self, *values): if not values: - return [] + return '' return ", ".join([str(v).strip() for v in values]) class MultiEntryHeader(HTTPHeader): @@ -418,7 +418,7 @@ class MultiEntryHeader(HTTPHeader): def format(self, *values): if not values: - return '' + return [] return list([str(v).strip() for v in values]) def tuples(self, *args, **kwargs): |