summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 824d639)
raw | patch | inline | side by side (parent: 824d639)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 23:14:52 +0000 (23:14 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 23:14:52 +0000 (23:14 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2196 57a73879-2fb5-44c3-a270-3262357dd7e2
detectors/emailauditor.py | patch | blob | history |
index 30f963604bf3ab01b867c56345c1de1c78464334..2f1c290ea333ca2281bc447352219993826420d2 100644 (file)
So... we do that. :)'''
if newalues.get('type', '').lower() == "message/rfc822":
- if newvalues.has_key('name'):
+ if not newvalues.has_key('name'):
newvalues['name'] = 'email.mht'
+ return
name = newvalues['name']
if name.endswith('.eml'):
name = name[:-4]