Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 7106:64e1058051f3
pylint: fix first reference to properties outside of __init__
pylint flags when new properties are created outside of init.
Probably smart as it could be a mispelling of an existing property.
Also init docstring refers to the _ok_message and _error_message
props, but doesn't set them like the other props it references.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 06 Dec 2022 15:07:18 -0500 |
| parents | b34d1808b0aa |
| children | 5c6dd791d638 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Tue Dec 06 12:44:11 2022 -0500 +++ b/roundup/cgi/client.py Tue Dec 06 15:07:18 2022 -0500 @@ -477,6 +477,9 @@ # flag to indicate that the HTTP headers have been sent self.headers_done = 0 + # record of headers sent for debugging + self.headers_sent = [] + # additional headers to send with the request - must be registered # before the first write self.additional_headers = {} @@ -495,6 +498,8 @@ self.nodeid = None self.classname = None self.template = None + self._ok_message = [] + self._error_message = [] def _gen_nonce(self): """ generate a unique nonce """
