Skip to content

Commit

Permalink
previously forgot to compile remove_not_matching into a regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Spiers committed May 9, 2013
1 parent 4ed8d89 commit c3b3558
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maildir-deduplicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ def parse_args():
if opts.remove_matching:
opts.remove_matching = re.compile(opts.remove_matching)

if opts.remove_not_matching:
opts.remove_not_matching = re.compile(opts.remove_not_matching)

return opts, maildirs

def count_removal_strategies(opts):
Expand Down

0 comments on commit c3b3558

Please sign in to comment.