Mercurial > moin > 1.9
changeset 2029:6f9e71e8bf26
kill some deprecated functions
author | Johannes Berg <johannes AT sipsolutions DOT net> |
---|---|
date | Thu, 26 Apr 2007 13:08:02 +0200 |
parents | 8383e7156ef5 |
children | 00f52826b5df |
files | MoinMoin/request/__init__.py |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py Thu Apr 26 12:56:05 2007 +0200 +++ b/MoinMoin/request/__init__.py Thu Apr 26 13:08:02 2007 +0200 @@ -1240,13 +1240,6 @@ url = self.getQualifiedURL(url) self.emit_http_headers(["Status: 302 Found", "Location: %s" % url]) - def http_headers(self, more_headers=[]): - """ wrapper for old, deprecated http_headers call, - new code only calls emit_http_headers. - Remove in moin 1.7. - """ - self.emit_http_headers(more_headers) - def emit_http_headers(self, more_headers=[]): """ emit http headers after some preprocessing / checking @@ -1327,12 +1320,6 @@ """ self.user_headers.append(header) - def setResponseCode(self, code, message=None): - """ DEPRECATED, will vanish in moin 1.7, - just use a Status: <code> <message> header and emit_http_headers. - """ - pass - def fail(self, err): """ Fail when we can't continue