Mercurial > moin > 1.9
changeset 5751:e4479bf1c820
Fix 'trailing blanks' warnings in source code
author | pavel_vinogradov |
---|---|
date | Mon, 13 Dec 2010 21:49:11 +0300 |
parents | 021c1f6d3272 |
children | 657bf0479970 |
files | MoinMoin/search/Xapian/indexing.py MoinMoin/security/textcha.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/search/Xapian/indexing.py Sun Dec 12 18:45:12 2010 +0100 +++ b/MoinMoin/search/Xapian/indexing.py Mon Dec 13 21:49:11 2010 +0300 @@ -536,7 +536,7 @@ except (OSError, IOError, UnicodeError): logging.exception("_index_file crashed:") - + def _queue_pages(self, request, files=None, pages=None): """ Put all (given) pages into indexer queue
--- a/MoinMoin/security/textcha.py Sun Dec 12 18:45:12 2010 +0100 +++ b/MoinMoin/security/textcha.py Mon Dec 13 21:49:11 2010 +0300 @@ -172,7 +172,7 @@ if question: # the signature is the last SHA1_LEN bytes of the question signature = question[-SHA1_LEN:] - + # operate on the remainder question = question[:-SHA1_LEN] try: