[kupfer: 50/53] tracker1: Update sparql_escape to be in step with tracker
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 50/53] tracker1: Update sparql_escape to be in step with tracker
- Date: Thu, 24 Mar 2011 16:34:45 +0000 (UTC)
commit be823393dfdb63f297d597116057bb88b6cc62f6
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Mar 24 17:22:41 2011 +0100
tracker1: Update sparql_escape to be in step with tracker
kupfer/plugin/tracker1.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/tracker1.py b/kupfer/plugin/tracker1.py
index 7b366e2..136e09d 100644
--- a/kupfer/plugin/tracker1.py
+++ b/kupfer/plugin/tracker1.py
@@ -83,6 +83,7 @@ def sparql_escape(ustr):
sparql_escape_table = {
ord(u'\t'): ur'\t',
ord(u'\n'): ur'\n',
+ ord(u'\r'): ur'\r',
ord(u'\b'): ur'\b',
ord(u'\f'): ur'\f',
ord(u'"') : ur'\"',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]