Changeset 135:95602aca2277 for imapclient/imapclient.py
- Timestamp:
- 02/08/10 13:06:35 (2 years ago)
- Branch:
- default
- Files:
-
- 1 modified
-
imapclient/imapclient.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
imapclient/imapclient.py
r132 r135 205 205 206 206 def _proc_folder_list(self, folder_data): 207 # appears to be a special case - no 'untagged' responses (ie, no 208 # folders) returns [None] 209 if folder_data == [None]: 210 return [] 207 # Filter out empty strings and None's. 208 # This also deals with the special case of - no 'untagged' 209 # responses (ie, no folders). This comes back as [None]. 210 folder_data = [item for item in folder_data if item not in ('', None)] 211 211 212 ret = [] 212 213 parsed = parse_response(folder_data)
