diff options
| author | toshio | 2012-03-14 23:44:30 +0000 |
|---|---|---|
| committer | toshio | 2012-03-14 23:44:30 +0000 |
| commit | 243e04db97e6601c471568a6e7c5fd74371fcb62 (patch) | |
| tree | c5a59692f23341a492c4aae8dafbbaa157889242 /src | |
| parent | 35758efbefc4d598c6055077df88d91873b01787 (diff) | |
| download | mailman-243e04db97e6601c471568a6e7c5fd74371fcb62.tar.gz mailman-243e04db97e6601c471568a6e7c5fd74371fcb62.tar.zst mailman-243e04db97e6601c471568a6e7c5fd74371fcb62.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/archiving/tests/test_prototype.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/archiving/tests/test_prototype.py b/src/mailman/archiving/tests/test_prototype.py index 969043aa4..7f48c5cfd 100644 --- a/src/mailman/archiving/tests/test_prototype.py +++ b/src/mailman/archiving/tests/test_prototype.py @@ -92,10 +92,10 @@ but the water deserves to be swum. dirpath = unicode(dirpath) all_filenames.add(dirpath) for filename in filenames: - new_filename = os.path.join(dirpath, filename) - if not isinstance(new_filename, unicode): - new_filename = unicode(new_filename) - all_filenames.add(new_filename) + new_filename = filename + if not isinstance(filename, unicode): + new_filename = unicode(filename) + all_filenames.add(os.path.join(dirpath, new_filename)) return all_filenames def test_archive_maildir_created(self): @@ -141,7 +141,7 @@ but the water deserves to be swum. config.LOCK_DIR, '{0}-maildir.lock'.format( self._mlist.fqdn_listname)) with Lock(lock_file): - # Acquire the archiver lock, Hen make sure the archiver logs the + # Acquire the archiver lock, then make sure the archiver logs the # fact that it could not acquire the lock. archive_thread = threading.Thread( target=Prototype.archive_message, |
