Fixed GHOP Cleaning clean_mentors_list method from using query on list.
authorLennard de Rijk <ljvderijk@gmail.com>
Fri, 04 Sep 2009 22:51:23 +0200
changeset 2861 17d5cfe85faf
parent 2860 ea9909161840
child 2862 27971a13089f
Fixed GHOP Cleaning clean_mentors_list method from using query on list. Somehow this fix was missing from the previous revision, bad HG.
app/soc/modules/ghop/logic/cleaning.py
--- a/app/soc/modules/ghop/logic/cleaning.py	Fri Sep 04 22:42:47 2009 +0200
+++ b/app/soc/modules/ghop/logic/cleaning.py	Fri Sep 04 22:51:23 2009 +0200
@@ -74,7 +74,7 @@
 
     filter = {
         'scope_path': self.cleaned_data.get('scope_path'),
-        'status': ['active']
+        'status': 'active'
         }
 
     mentors_list = []