iterTroveList(troveSource,
troveTups,
recurseAll=False,
recurseOne=False,
recursePackages=False,
needTroves=False,
getPristine=True,
showNotByDefault=False,
showWeakRefs=False,
checkExists=False,
showNotExists=False,
showFlags=False,
primaryTroves=[])
| source code
|
Given a troveTup list, iterate over those troves and their child
troves as specified by parameters
- Parameters:
troveSource (display.DisplayConfig) - place to retrieve the trove instances matching troveTups
recurseAll (bool) - if true, recursively descend through the listed troves
recurseOne - if True, include just the first level of troves below the
listed troves (but do not recurse)
needTroves (bool) - if True, return trove objects. Otherwise, return None as each
trove object
getPristine (bool) - if True, get pristine trove objects
showNotByDefault (bool) - if True, yield not bydefault troves
showWeakRefs (bool) - if True, yield troves that are weak references
checkExists (bool) - if True, add flag MISSING for troves that do not exist (but
are referenced) in this troveSource
showNotExists (bool) - if True, show troves that do not exist (but are referenced) in
this troveSource
- Returns: yields (troveTup, troveObj, flags, indent) tuples
|