team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00307
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 491: initialization of params must be empty dict not None
------------------------------------------------------------
revno: 491
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2013-01-05 19:36:24 +0100
message:
initialization of params must be empty dict not None
modified:
src/alfanous-django/wui/views.py
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous-django/wui/views.py'
--- src/alfanous-django/wui/views.py 2013-01-05 17:54:02 +0000
+++ src/alfanous-django/wui/views.py 2013-01-05 18:36:24 +0000
@@ -64,8 +64,8 @@
"query": request.GET["search"]
}
else:
- search_params = None
- suggest_params = None
+ search_params = {}
+ suggest_params = {}
#use search as first action
raw_search = RAWoutput.do( search_params ) if search_params else None