56 |
# Internal: Request modules from datasource (optional matching a name) |
# Internal: Request modules from datasource (optional matching a name) |
57 |
# --------------------------------------------------------------------------- |
# --------------------------------------------------------------------------- |
58 |
def _requestData (self, name = None): |
def _requestData (self, name = None): |
59 |
print "DEBUG: Module: requestData (%s)" % name |
# print "DEBUG: Module: requestData (%s)" % name |
60 |
|
|
61 |
cond = [] |
cond = [] |
62 |
if name: |
if name: |
79 |
return self._cache [name] |
return self._cache [name] |
80 |
|
|
81 |
# since it isn't cached we've to ask for it |
# since it isn't cached we've to ask for it |
82 |
print "DEBUG: Module: REFETCH (%s)" % name |
# print "DEBUG: Module: REFETCH (%s)" % name |
83 |
list = self._requestData (name) |
list = self._requestData (name) |
84 |
|
|
85 |
# if we have an exact match extend the cache |
# if we have an exact match extend the cache |