Show
Ignore:
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:
1 modified

Legend:

Unmodified
Added
Removed
  • imapclient/imapclient.py

    r276 r277  
    8989    AbortError = imaplib.IMAP4.abort 
    9090    ReadOnlyError = imaplib.IMAP4.readonly 
    91  
    92     re_status = re.compile(r'^\s*"?(?P<folder>[^"]+)"?\s+' 
    93                            r'\((?P<status_items>.*)\)$') 
    9491 
    9592    def __init__(self, host, port=None, use_uid=True, ssl=False): 
     
    433430        self._checkok('status', typ, data) 
    434431 
    435         match = self.re_status.match(data[0]) 
     432        match = _re_status.match(data[0]) 
    436433        if not match: 
    437434            raise self.Error('Could not get the folder status') 
     
    902899    return parse_response([text])  
    903900                 
     901_re_status = re.compile(r'^\s*"?(?P<folder>[^"]+)"?\s+' 
     902                        r'\((?P<status_items>.*)\)$') 
     903