1.1 --- a/moinformat/input/common.py Sat Apr 13 23:25:33 2019 +0200
1.2 +++ b/moinformat/input/common.py Sat Apr 13 23:26:24 2019 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Input context common functionality.
1.6
1.7 -Copyright (C) 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2018, 2019 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,6 +44,18 @@
1.13
1.14 return []
1.15
1.16 + def all_attachments(self):
1.17 +
1.18 + "Return all attachment filenames in the context."
1.19 +
1.20 + return []
1.21 +
1.22 + def get_attachments(self, pagename):
1.23 +
1.24 + "Return all attachment filenames for the given 'pagename'."
1.25 +
1.26 + return []
1.27 +
1.28 # Page characteristics.
1.29
1.30 def parent(self, pagename):