Commit 414d7fcd authored by Aurel's avatar Aurel

make sure it is a string, restrictedTraverse does not like unicode

parent beb29b94
......@@ -133,7 +133,7 @@ class SyncMLSubscription(XMLObject):
# the result is sorted
result_count = len(r)
if result_count:
r = [x.path for x in r]
r = [str(x.path) for x in r]
if not limit:
# We do not split in activity so call the callback right now
syncml_logger.info("getAndIndex : got %d, %r result and no limit, calling callback..." %
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment