1.1 --- a/imiptools/__init__.py Mon May 11 22:13:58 2015 +0200
1.2 +++ b/imiptools/__init__.py Tue May 12 15:36:02 2015 +0200
1.3 @@ -56,11 +56,11 @@
1.4 self.messenger = messenger or Messenger()
1.5 self.lmtp_socket = None
1.6
1.7 - def process(self, f, original_recipients, recipients, outgoing_only):
1.8 + def process(self, f, original_recipients, outgoing_only):
1.9
1.10 """
1.11 Process content from the stream 'f' accompanied by the given
1.12 - 'original_recipients' and 'recipients'.
1.13 + 'original_recipients'.
1.14 """
1.15
1.16 msg = message_from_file(f)
1.17 @@ -253,8 +253,6 @@
1.18
1.19 if arg == "-o":
1.20 l = original_recipients
1.21 - elif arg == "-r":
1.22 - l = recipients
1.23
1.24 # Switch to collecting senders.
1.25
1.26 @@ -275,7 +273,7 @@
1.27
1.28 self.messenger.sender = senders and senders[0] or self.messenger.sender
1.29 self.lmtp_socket = lmtp and lmtp[0] or None
1.30 - self.process(stream, original_recipients, recipients, outgoing_only)
1.31 + self.process(stream, original_recipients, outgoing_only)
1.32
1.33 def __call__(self):
1.34