1.1 --- a/imiptools/handlers/__init__.py Sun Feb 07 23:35:20 2016 +0100
1.2 +++ b/imiptools/handlers/__init__.py Mon Feb 08 00:14:53 2016 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 General handler support for incoming calendar objects.
1.6
1.7 -Copyright (C) 2014, 2015 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2014, 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -44,7 +44,7 @@
1.13 "General handler support."
1.14
1.15 def __init__(self, senders=None, recipient=None, messenger=None, store=None,
1.16 - publisher=None, preferences_dir=None):
1.17 + publisher=None, journal=None, preferences_dir=None):
1.18
1.19 """
1.20 Initialise the handler with any specifically indicated 'senders' and
1.21 @@ -53,11 +53,12 @@
1.22 The optional 'messenger' provides a means of interacting with the mail
1.23 system.
1.24
1.25 - The optional 'store' and 'publisher' can be specified to override the
1.26 - default store and publisher objects.
1.27 + The optional 'store', 'publisher' and 'journal' can be specified to
1.28 + override the default store and publisher objects.
1.29 """
1.30
1.31 - ClientForObject.__init__(self, None, recipient and get_uri(recipient), messenger, store, publisher, preferences_dir)
1.32 + ClientForObject.__init__(self, None, recipient and get_uri(recipient),
1.33 + messenger, store, publisher, journal, preferences_dir)
1.34
1.35 self.senders = senders and set(map(get_address, senders))
1.36 self.recipient = recipient and get_address(recipient)