# HG changeset patch # User Paul Boddie # Date 1555106661 -7200 # Node ID 2149d41d53561f03d24db91873f8c4c886a71a39 # Parent 70f073bec09e63c02126d8b73233da98f469cde0 Minor tidying and reformatting. diff -r 70f073bec09e -r 2149d41d5356 moinformat/output/common.py --- a/moinformat/output/common.py Sat Apr 13 00:03:24 2019 +0200 +++ b/moinformat/output/common.py Sat Apr 13 00:04:21 2019 +0200 @@ -74,8 +74,6 @@ self.reset() return s - # Serialisation methods. - def can_write(self): "Return whether this context supports page writing." diff -r 70f073bec09e -r 2149d41d5356 moinformat/output/directory.py --- a/moinformat/output/directory.py Sat Apr 13 00:03:24 2019 +0200 +++ b/moinformat/output/directory.py Sat Apr 13 00:04:21 2019 +0200 @@ -75,7 +75,8 @@ if not pagename: return None - return self.dir.get_filename(join(self.to_filename(pagename), self.attachments_dir, filename)) + return self.dir.get_filename(join(self.to_filename(pagename), + self.attachments_dir, filename)) def get_filename(self, filename):