Package: pymsnt Version: 0.11.2-1 Severity: normal Tags: patch The python MSN transport is, from what I've read, supposed to be capable of migrating an existing spool directory from the older C version of the transport. However, in testing the package this never happens. Investigation of the code revealed that existing package (and upstream's current source) appear to have one key condition incorrectly checked. The attached patch corrects this and allows for migration of older spool directories.
--- System information. --- Architecture: i386 Kernel: Linux 2.6.18-5-k7 Debian Release: 4.0
diff -Naur pymsnt-0.11.2/src/housekeep.py pymsnt-0.11.2.mod/src/housekeep.py --- pymsnt-0.11.2/src/housekeep.py 2006-10-18 00:40:55.000000000 -0400 +++ pymsnt-0.11.2.mod/src/housekeep.py 2007-11-01 09:05:04.000000000 -0400 @@ -22,7 +22,7 @@ try: notes = NotesToMyself() for note in noteList: - if notes.check(note): + if not notes.check(note): noteListF[noteList.index(note)]() notes.append(note) notes.save()