1.1 --- a/patches/patch-moin-1.9-MoinMoin-packages.diff Thu Oct 17 20:20:10 2013 +0200
1.2 +++ b/patches/patch-moin-1.9-MoinMoin-packages.diff Fri Nov 01 19:30:16 2013 +0100
1.3 @@ -1,17 +1,26 @@
1.4 -diff -r 73f9cf05b8d9 MoinMoin/packages.py
1.5 ---- a/MoinMoin/packages.py Tue Jul 16 18:05:08 2013 +0200
1.6 -+++ b/MoinMoin/packages.py Wed Jul 17 15:44:11 2013 +0200
1.7 -@@ -95,6 +95,10 @@
1.8 - truth literals.
1.9 +diff -r 77533e162654 MoinMoin/packages.py
1.10 +--- a/MoinMoin/packages.py Tue Aug 13 12:17:47 2013 +0200
1.11 ++++ b/MoinMoin/packages.py Fri Nov 01 19:28:42 2013 +0100
1.12 +@@ -96,6 +96,10 @@
1.13 """
1.14 return (string.lower() in ('yes', 'true', '1'))
1.15 -+
1.16 +
1.17 +class IAmRoot(object):
1.18 + def __getattr__(self, name):
1.19 + return lambda *args, **kwargs: True
1.20 -
1.21 ++
1.22 class ScriptEngine:
1.23 """
1.24 + The script engine supplies the needed commands to execute the installation
1.25 +@@ -286,7 +290,7 @@
1.26 +
1.27 + self.msg += package.msg
1.28 +
1.29 +- def do_addrevision(self, filename, pagename, author=u"Scripting Subsystem", comment=u"", trivial=u"No"):
1.30 ++ def do_addrevision(self, filename, pagename, author=u"Scripting Subsystem", comment=u"", trivial=u"No", mtime=None):
1.31 + """ Adds a revision to a page.
1.32 +
1.33 + @param filename: name of the file in this package
1.34 @@ -298,7 +302,7 @@
1.35 _ = self.request.getText
1.36 trivial = str2boolean(trivial)