1.1 --- a/imiptools/__init__.py Tue Oct 17 17:16:36 2017 +0200
1.2 +++ b/imiptools/__init__.py Tue Oct 17 22:24:09 2017 +0200
1.3 @@ -64,13 +64,22 @@
1.4 self.debug = False
1.5
1.6 def get_store(self):
1.7 - return get_store(self.store_type, self.store_dir)
1.8 +
1.9 + "Return any configured store or None if not explicitly configured."
1.10 +
1.11 + return self.store_dir and get_store(self.store_type, self.store_dir) or None
1.12
1.13 def get_publisher(self):
1.14 +
1.15 + "Return any configured publisher or None if not explicitly configured."
1.16 +
1.17 return self.publishing_dir and get_publisher(self.publishing_dir) or None
1.18
1.19 def get_journal(self):
1.20 - return get_journal(self.store_type, self.journal_dir)
1.21 +
1.22 + "Return any configured journal or None if not explicitly configured."
1.23 +
1.24 + return self.journal_dir and get_journal(self.store_type, self.journal_dir) or None
1.25
1.26 def process(self, f, original_recipients):
1.27