Ticket #311: Paste-1.7.2-fix-truncated-output.diff
| File Paste-1.7.2-fix-truncated-output.diff, 0.6 KB (added by mgedmin, 4 years ago) |
|---|
-
./paste/debug/profile.py
patch generated by mg on Fri Nov 7 22:45:07 EET 2008 diff -up ./paste/debug/profile.py.orig ./paste/debug/profile.py
old new 79 79 stats.print_callers, self.limit) 80 80 body += '<pre style="%s">%s\n%s</pre>' % ( 81 81 self.style, cgi.escape(output), cgi.escape(output_callers)) 82 response.replace_header(headers, 'Content-Length', str(len(body))) 82 83 return [body] 83 84 finally: 84 85 self.lock.release()
