spaetz/offlineimap — pull request #51 by dabrahams (2012-07-09 17:22:46+00:00)
Title: There's an import missing

``` python
Deleting 7 messages (64508,64545,64643:64644,64648:64650) in MappedIMAP[INBOX]
ERROR: Syncing folder INBOX [acc: BoostPro]
global name 'OfflineImapError' is not defined
ERROR: ERROR in syncfolder for BoostPro folder INBOX: Traceback (most recent call last):
File "/usr/local/stow/.virtualenvs/offlineimap-6.5.4/lib/python2.7/site-packages/offlineimap/accounts.py", line 438, in syncfolder
remotefolder.syncmessagesto(localfolder, statusfolder)
File "/usr/local/stow/.virtualenvs/offlineimap-6.5.4/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 526, in syncmessagesto
action(dstfolder, statusfolder)
File "/usr/local/stow/.virtualenvs/offlineimap-6.5.4/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 432, in syncmessagesto_delete
folder.deletemessages(deletelist)
File "/usr/local/stow/.virtualenvs/offlineimap-6.5.4/lib/python2.7/site-packages/offlineimap/folder/UIDMaps.py", line 293, in deletemessages
self._mb.deletemessages(self._uidlist(self.r2l, uidlist))
File "/usr/local/stow/.virtualenvs/offlineimap-6.5.4/lib/python2.7/site-packages/offlineimap/folder/UIDMaps.py", line 88, in _uidlist
raise OfflineImapError("Could not find UID for msg '{0}' (f:'{1}'."
NameError: global name 'OfflineImapError' is not defined
```