Wiking branch, master, updated. 7c3096e0905bd991385a6ea1b3a5c49604a62b71
Milan Zamazal
pdm at devel.brailcom.org
Thu Oct 21 15:41:22 CEST 2010
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 7c3096e0905bd991385a6ea1b3a5c49604a62b71 (commit)
from 96221d5e3dd1f59043006bf63d7223e23fc54623 (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 7c3096e0905bd991385a6ea1b3a5c49604a62b71
Author: Milan Zamazal <pdm at brailcom.org>
Date: Thu Oct 21 15:40:50 2010 +0200
Handle pytis values correctly in link construction optimization
-----------------------------------------------------------------------
Summary of changes:
lib/wiking/db.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/wiking/db.py b/lib/wiking/db.py
index af18dd6..310bed3 100644
--- a/lib/wiking/db.py
+++ b/lib/wiking/db.py
@@ -1250,6 +1250,8 @@ class PytisModule(Module, ActionHandler):
(not isinstance(key, dict) or key.keys() == [self._key])):
if isinstance(key, dict):
key = key[self._key]
+ if isinstance(key, pd.Value):
+ key = key.value()
uri = self._base_uri(req)
if uri:
return req.make_uri('%s/%s' % (uri, key,))
hooks/post-receive
--
Wiking
More information about the Wiking-cvs
mailing list