Skip to content

Commit

Permalink
Turned off path reporting, enabled missing attachments reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonabbey committed Dec 14, 2010
1 parent 2bd4638 commit 3ebf9d6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Eudora2Mbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,17 +291,18 @@ def convert( mbx, embedded_dir = None, opts = None ):
elif EudoraLog.msg_no == 0:
EudoraLog.log.error( 'no messages (not a Eudora mailbox file?)' )

print
if False:
print

print "\nMissing path count:"
print "\nMissing path count:"

for (path, count) in paths_missing.iteritems():
print "%s: %d" % (path, count)
for (path, count) in paths_missing.iteritems():
print "%s: %d" % (path, count)

print "\nFound path count:"
print "\nFound path count:"

for (path, count) in paths_found.iteritems():
print "%s: %d" % (path, count)
for (path, count) in paths_found.iteritems():
print "%s: %d" % (path, count)

print "\n------------------------------"
print "Attachments Listed: %d\nAttachments Found: %d\nAttachments Missing:%d" % (attachments_listed, attachments_found, attachments_missing)
Expand Down Expand Up @@ -864,7 +865,7 @@ def handle_attachment( line, target, message ):
missing_attachments[EudoraLog.log.mbx_name()] = []
missing_attachments[EudoraLog.log.mbx_name()].append(attachment_desc)

# EudoraLog.log.warn(" FAILED to find attachment: \'" + attachment_desc + "\'" )
EudoraLog.log.warn(" FAILED to find attachment: \'" + attachment_desc + "\'" )

if orig_path in paths_missing:
paths_missing[orig_path] = paths_missing[orig_path] + 1
Expand Down

0 comments on commit 3ebf9d6

Please sign in to comment.