r23302 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23301‎ | r23302 | r23303 >
Date:19:26, 23 June 2007
Author:Mark Bergsma
Status:old
Tags:
Comment:
Fix bug
Modified paths:
  • /trunk/wmfmailadmin/mbcleanup.py (modified) (history)

Diff [purge]

Index: trunk/wmfmailadmin/mbcleanup.py
@@ -30,7 +30,7 @@
3131 if not domain.startswith('.') and os.path.isdir(domaindir):
3232 try:
3333 for localpart in os.listdir(domaindir):
34 - if not localpart.startswith('.') and not localpart.find('@') and \
 34+ if not localpart.startswith('.') and localpart.find('@') < 0 and \
3535 os.path.isdir(os.path.join(domaindir, localpart)):
3636 mailboxes.add((unicode(domain), unicode(localpart)))
3737 except OSError, e:

Status & tagging log