1.1 --- a/MoinShare.py Wed Nov 13 17:51:21 2013 +0100
1.2 +++ b/MoinShare.py Thu Jan 09 22:54:51 2014 +0100
1.3 @@ -2,7 +2,7 @@
1.4 """
1.5 MoinMoin - MoinShare library
1.6
1.7 - @copyright: 2011, 2012, 2013 by Paul Boddie <paul@boddie.org.uk>
1.8 + @copyright: 2011, 2012, 2013, 2014 by Paul Boddie <paul@boddie.org.uk>
1.9 @copyright: 2003-2006 Edgewall Software
1.10 @copyright: 2006 MoinMoin:AlexanderSchremmer
1.11 @license: GNU GPL (v2 or later), see COPYING.txt for details.
1.12 @@ -231,7 +231,7 @@
1.13 "Return an update for the given 'message_text' and 'message_number'."
1.14
1.15 update = Update()
1.16 - message = Parser().parse(StringIO(message_text))
1.17 + message = Parser().parsestr(message_text)
1.18
1.19 # Produce a fragment identifier.
1.20
1.21 @@ -298,7 +298,7 @@
1.22
1.23 if is_encrypted(part):
1.24 text = gpg.decryptMessage(part)
1.25 - part = Parser().parse(StringIO(text))
1.26 + part = Parser().parsestr(text)
1.27
1.28 # Extract any signature details.
1.29