From 6485a9d92441524909c284fc3cc52d2f82771ec2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 30 May 2011 10:54:13 +0200 Subject: [PATCH] places parseCondition takes 2 arguments --- pandora/place/managers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/place/managers.py b/pandora/place/managers.py index bab9add55..1039e1ea8 100644 --- a/pandora/place/managers.py +++ b/pandora/place/managers.py @@ -32,8 +32,8 @@ def parseCondition(condition, user): else: exclude = False if op == '-': - q = parseCondition({'key': k, 'value': v[0], 'operator': '>='}) \ - & parseCondition({'key': k, 'value': v[1], 'operator': '<'}) + q = parseCondition({'key': k, 'value': v[0], 'operator': '>='}, user) \ + & parseCondition({'key': k, 'value': v[1], 'operator': '<'}, user) if exclude: return ~q else: