diff options
author | Nikolaus Schulz <microschulz@web.de> | 2008-08-04 20:15:08 +0200 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2009-11-06 21:09:39 +0100 |
commit | 223e2f9802fcf279badbbc6b27dc4b450206db86 (patch) | |
tree | b43745a174bba7a2432bdd169ac7f942d8436f6d | |
parent | aee4df2fcf03f53e33b83c7923e086ed5d659d31 (diff) | |
download | archivemail-223e2f9802fcf279badbbc6b27dc4b450206db86.tar.gz archivemail-223e2f9802fcf279badbbc6b27dc4b450206db86.tar.bz2 archivemail-223e2f9802fcf279badbbc6b27dc4b450206db86.zip |
Cosmetics: in verbose mode, report current mailbox early
This is now before we do the sanity checking, so in verbose mode, we don't error
out before having said that we now turn attention to the current mailbox.
-rwxr-xr-x | archivemail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archivemail.py b/archivemail.py index 47d1888..619d9c5 100755 --- a/archivemail.py +++ b/archivemail.py @@ -1095,6 +1095,7 @@ def archive(mailbox_name): os.umask(077) # saves setting permissions on mailboxes/tempfiles final_archive_name = make_archive_name(mailbox_name) + vprint("archiving '%s' to '%s' ..." % (mailbox_name, final_archive_name)) check_archive(final_archive_name) dest_dir = os.path.dirname(final_archive_name) if not dest_dir: @@ -1112,7 +1113,6 @@ def archive(mailbox_name): if fuid != os.getuid(): user_error("'%s' is owned by someone else!" % mailbox_name) - vprint("archiving '%s' to '%s' ..." % (mailbox_name, final_archive_name)) old_temp_dir = tempfile.tempdir try: # create a temporary directory for us to work in securely |