Mercurial > moin > 1.9
changeset 3034:d0d9fbc0f0ee
PEP8 whitespace fixes
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Sun, 03 Feb 2008 20:37:01 +0100 |
parents | 6d9bdb12163f |
children | b545446562a0 |
files | MoinMoin/PageEditor.py MoinMoin/action/SpellCheck.py MoinMoin/converter/text_html_text_moin_wiki.py |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py Sun Feb 03 20:23:53 2008 +0100 +++ b/MoinMoin/PageEditor.py Sun Feb 03 20:37:01 2008 +0100 @@ -313,7 +313,7 @@ status = ' '.join(status) status = Status(request, content=status) request.theme.add_msg(status, "dialog") - + request.theme.send_title( title % {'pagename': self.split_title(), }, page=self,
--- a/MoinMoin/action/SpellCheck.py Sun Feb 03 20:23:53 2008 +0100 +++ b/MoinMoin/action/SpellCheck.py Sun Feb 03 20:37:01 2008 +0100 @@ -221,7 +221,7 @@ else: badwords = [] request.theme.add_msg(_("You can't check spelling on a page you can't read."), "error") - + request.theme.add_msg(msg, "dialog") if badwords: page.send_page(hilite_re=badwords_re)
--- a/MoinMoin/converter/text_html_text_moin_wiki.py Sun Feb 03 20:23:53 2008 +0100 +++ b/MoinMoin/converter/text_html_text_moin_wiki.py Sun Feb 03 20:37:01 2008 +0100 @@ -1306,10 +1306,10 @@ raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname)) def convert(request, pagename, text): - # Due to expat needing explicitly set namespaces, we set these here to allow pasting + # Due to expat needing explicitly set namespaces, we set these here to allow pasting # from Word / Excel without issues. # If you encounter 'ExpatError: unbound prefix', try adding the namespace to the list. - namespace = [u'xmlns:o="urn:schemas-microsoft-com:office:office"', + namespace = [u'xmlns:o="urn:schemas-microsoft-com:office:office"', u'xmlns:x="urn:schemas-microsoft-com:office:excel"', u'xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"', u'xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet"',