apps/search/views.py: backwards compatibility for python 2.5.
apps/search/views.py: backwards compatibility for python 2.5.

"except xx as yy" required python 2.6 or newer.

apenwarr/hnofficehours,apenwarr/hnofficehours,apenwarr/hnofficehours