Merge branch 'ss/folder.imap-dont-import-copy' into next

Conflicts:
	offlineimap/folder/IMAP.py

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2011-09-06 19:57:02 +02:00
commit 8c730cf509

View File

@ -22,7 +22,6 @@ import binascii
import re import re
import time import time
from sys import exc_info from sys import exc_info
from copy import copy
from Base import BaseFolder from Base import BaseFolder
from offlineimap import imaputil, imaplibutil, OfflineImapError from offlineimap import imaputil, imaplibutil, OfflineImapError
try: # python 2.6 has set() built in try: # python 2.6 has set() built in
@ -663,7 +662,7 @@ class IMAPFolder(BaseFolder):
# Some IMAP servers do not always return a result. Therefore, # Some IMAP servers do not always return a result. Therefore,
# only update the ones that it talks about, and manually fix # only update the ones that it talks about, and manually fix
# the others. # the others.
needupdate = copy(uidlist) needupdate = list(uidlist)
for result in r: for result in r:
if result == None: if result == None:
# Compensate for servers that don't return anything from # Compensate for servers that don't return anything from