diff options
author | maluke <devnull@localhost> | 2009-07-01 15:25:02 +0000 |
---|---|---|
committer | maluke <devnull@localhost> | 2009-07-01 15:25:02 +0000 |
commit | 2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788 (patch) | |
tree | 19526289e235721e85f84f6bf695661241b85b95 /paste/fileapp.py | |
parent | 353e380bca264efa42792832b64d09f43dfa2fb2 (diff) | |
download | paste-2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788.tar.gz |
Paste: fix Ticket #299
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r-- | paste/fileapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fileapp.py b/paste/fileapp.py index 81d4786..8a0e8a1 100644 --- a/paste/fileapp.py +++ b/paste/fileapp.py @@ -104,7 +104,7 @@ class DataApp(object): return self.get(environ, start_response) def calculate_etag(self): - return str(self.last_modified) + '-' + str(self.content_length) + return '"%s-%s"' % (self.last_modified, self.content_length) def get(self, environ, start_response): headers = self.headers[:] |