From 73d64e41b489e8229bddc47bf40e7630797a2acc Mon Sep 17 00:00:00 2001 From: pjenvey Date: Sun, 18 Feb 2007 02:55:11 +0000 Subject: reindent r6247 --- paste/wsgiwrappers.py | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'paste/wsgiwrappers.py') diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py index 905a9cf..8889c22 100644 --- a/paste/wsgiwrappers.py +++ b/paste/wsgiwrappers.py @@ -258,21 +258,20 @@ class WSGIRequest(object): def __repr__(self): """Show important attributes of the WSGIRequest""" pf = pformat - msg = ['<%s.%s at 0x%x method=%s,' % \ - (self.__class__.__module__, self.__class__.__name__, - id(self), pf(self.method))] - msg.append('scheme=%s, host=%s, script_name=%s, path_info=%s,' % \ - (pf(self.scheme), pf(self.host), - pf(self.script_name), pf(self.path_info))) - charset_msg = '' + msg = '<%s.%s at 0x%x method=%s,' % \ + (self.__class__.__module__, self.__class__.__name__, + id(self), pf(self.method)) + msg += '\nscheme=%s, host=%s, script_name=%s, path_info=%s,' % \ + (pf(self.scheme), pf(self.host), pf(self.script_name), + pf(self.path_info)) + msg += '\nlanguges=%s,' % pf(self.languages) if self.charset: - charset_msg = ' charset=%s, errors=%s,' % \ - (pf(self.charset), pf(self.errors)) - msg.append('languges=%s,%s' % (pf(self.languages), charset_msg)) - msg.append('GET=%s,' % pf(self.GET)) - msg.append('POST=%s,' % pf(self.POST)) - msg.append('cookies=%s>' % pf(self.cookies)) - return '\n'.join(msg) + msg += ' charset=%s, errors=%s,' % (pf(self.charset), + pf(self.errors)) + msg += '\nGET=%s,' % pf(self.GET) + msg += '\nPOST=%s,' % pf(self.POST) + msg += '\ncookies=%s>' % pf(self.cookies) + return msg class WSGIResponse(object): """A basic HTTP response with content, headers, and out-bound cookies -- cgit v1.2.1