[POS-commit] r3278 - stoq/trunk/stoq/lib

Evandro Vale Miquelito evandro at async.com.br
Mon Apr 10 18:46:46 BRT 2006


Author: evandro
Date: Mon Apr 10 18:46:46 2006
New Revision: 3278

Modified:
   stoq/trunk/stoq/lib/stoqconfig.py

Log:
No need to setup the max_search_results in the startup since this
information lives in a system parameters


Modified: stoq/trunk/stoq/lib/stoqconfig.py
==============================================================================
--- stoq/trunk/stoq/lib/stoqconfig.py	(original)
+++ stoq/trunk/stoq/lib/stoqconfig.py	Mon Apr 10 18:46:46 2006
@@ -35,7 +35,6 @@
 from stoqlib.exceptions import (DatabaseError, UserProfileError,
                                 LoginError, DatabaseInconsistency)
 from stoqlib.gui.base.dialogs import notify_dialog
-from stoqlib.gui.base.search import set_max_search_results
 from stoqlib.gui.base.gtkadds import register_iconsets
 from stoqlib.lib.parameters import sysparam
 from stoqlib.lib.runtime import set_current_user, get_connection
@@ -145,8 +144,6 @@
         register_iconsets()
 
         conn = get_connection()
-        max_search_results = sysparam(conn).MAX_SEARCH_RESULTS
-        set_max_search_results(max_search_results)
         if not self.validate_user():
             LoginError('Could not authenticate in the system')
         return self.appname


More information about the POS-commit mailing list