Wiking branch, master, updated. 4cbdd2aca83cfd0e55b5b6a221b81baf29d85ff2

Tomas Cerha cerha at devel.brailcom.org
Wed Jun 15 16:11:49 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Wiking".

The branch, master has been updated
       via  4cbdd2aca83cfd0e55b5b6a221b81baf29d85ff2 (commit)
      from  4fb16721a382ac9fa0ad619dc8a290c5777ebfed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4cbdd2aca83cfd0e55b5b6a221b81baf29d85ff2
Author: Tomas Cerha <cerha at brailcom.org>
Date:   Wed Jun 15 16:07:38 2011 +0200

    Work around encoding problems when decoding request messages stored on redirection

-----------------------------------------------------------------------

Summary of changes:
 lib/wiking/request.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/wiking/request.py b/lib/wiking/request.py
index 219afe2..928c137 100644
--- a/lib/wiking/request.py
+++ b/lib/wiking/request.py
@@ -362,7 +362,7 @@ class Request(ServerInterface):
                         type, quoted = line.split(':', 1)
                         if type not in self._MESSAGE_TYPES:
                             raise ValueError("Invalid type:", type)
-                        message = urllib.unquote(quoted).decode(self._encoding)
+                        message = urllib.unquote(str(quoted)).decode(self._encoding)
                     except Exception as e:
                         log(OPR, "Error unpacking stored messages:", e)
                     else:


hooks/post-receive
-- 
Wiking



More information about the Wiking-cvs mailing list