From 8d3029d852d35731611b05e4306425a97784e4f1 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 6f0a7b8..08961be 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 7673379..32a7c0a 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/