Package: archivemail Version: 0.6.1-3 Severity: normal
archivemail sometimes claims a maildir is empty when it is not. This is because rfc822.message objects are false. This breaks some while loops and assertions. A patch to compare messages to None, the other possible return value of Mailbox.next() is below. -Brian 312c312 < assert(msg) --- > assert(msg != None) 563c563 < assert(msg) --- > assert(msg != None) 663c663 < assert(message) --- > assert(message != None) 675c675 < assert(message) --- > assert(message != None) 692c692 < assert(message) --- > assert(message != None) 853c853 < assert(message) --- > assert(message != None) 1091c1091 < while (msg): --- > while (msg != None): 1170c1170 < while (msg): --- > while (msg != None): -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (900, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages archivemail depends on: ii python 2.3.5-2 An interactive high-level object-o -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]