moksha/connector/connector.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 3b965632c2f543c4ce35bca35611f7fe571dceec Author: John (J5) Palmieri johnp@redhat.com Date: Fri Apr 24 10:36:45 2009 -0400
don't define path variable in the base class and namespace our cache
diff --git a/moksha/connector/connector.py b/moksha/connector/connector.py index a1f9522..ccb300e 100644 --- a/moksha/connector/connector.py +++ b/moksha/connector/connector.py @@ -38,8 +38,6 @@ class IConnector(object):
All connectors must derive from this interface """ - _method_paths = {} - def __init__(self, environ=None, request=None): super(IConnector, self).__init__() self._environ = environ @@ -338,7 +336,7 @@ class ISearch(IQuery): default_sort_order = None, can_paginate = True):
- cls._search_cache = fas_cache = Cache('moksha_search_cache_ ' + path) + cls._search_cache = Cache('moksha_search_cache_%s_%s ' %( cls.__name__, path))
def query_func(conn=None, start_row=0,
moksha-commits@lists.fedorahosted.org