From 5df4aea677cc56d40587eafa992704319573ed18 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 23 Feb 2011 11:34:24 +0100 Subject: [PATCH] keys must be strings --- pandora/itemlist/managers.py | 1 + update.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pandora/itemlist/managers.py b/pandora/itemlist/managers.py index 6f0a7b89..08961be3 100644 --- a/pandora/itemlist/managers.py +++ b/pandora/itemlist/managers.py @@ -60,6 +60,7 @@ def parseCondition(condition, user): else: # default key = '%s__icontains'%k + key = str(key) if exclude: q = ~Q(**{key: v}) else: diff --git a/update.sh b/update.sh index 76733794..32a7c0a9 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,7 @@ cd `dirname $0` +base=`pwd` bzr pull http://code.0x2620.org/pandora/ cd static/oxjs bzr pull http://code.0x2620.org/oxjs/ +cd $base +test -e src/python-ox && cd src/python-ox && bzr pull http://code.0x2620.org/python-ox/