#NEWLINE# def get( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . search_handler = self . get_search_handler ( self . request . GET , request . get_full_path ( ) , [ ] ) #NEWLINE# #UNINDENT# except InvalidPage : #NEWLINE# #INDENT# messages . error ( request , _ ( 'The given page number was invalid.' ) ) #NEWLINE# return redirect ( 'catalogue:index' ) #NEWLINE# #UNINDENT# return super ( CatalogueView , self ) . get ( request , * args , ** request )