Changeset 277:f452ccc5cb24
- Timestamp:
- 08/11/11 23:02:04 (7 months ago)
- Author:
- Menno Smits <menno@…>
- Branch:
- default
- Message:
-
moved re_status out of the way to stop sphinx from seeing it
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r276
|
r277
|
|
| 89 | 89 | AbortError = imaplib.IMAP4.abort |
| 90 | 90 | ReadOnlyError = imaplib.IMAP4.readonly |
| 91 | | |
| 92 | | re_status = re.compile(r'^\s*"?(?P<folder>[^"]+)"?\s+' |
| 93 | | r'\((?P<status_items>.*)\)$') |
| 94 | 91 | |
| 95 | 92 | def __init__(self, host, port=None, use_uid=True, ssl=False): |
| … |
… |
|
| 433 | 430 | self._checkok('status', typ, data) |
| 434 | 431 | |
| 435 | | match = self.re_status.match(data[0]) |
| | 432 | match = _re_status.match(data[0]) |
| 436 | 433 | if not match: |
| 437 | 434 | raise self.Error('Could not get the folder status') |
| … |
… |
|
| 902 | 899 | return parse_response([text]) |
| 903 | 900 | |
| | 901 | _re_status = re.compile(r'^\s*"?(?P<folder>[^"]+)"?\s+' |
| | 902 | r'\((?P<status_items>.*)\)$') |
| | 903 | |