pyblock: fix block.getDmDeps and block.getDmTarget
If multiple arguments are passed to the functions, maps must match
all of them in order to be considered a match. Currently, a match is
achieved if any of the criteria are met, which is not the behavior
we want. Also, the possiblity of any of the arguments being None was
not handled in the previous versions. While I was in there messing
around I could not resist moving the common code to locate the map
into a separate function.
David Lehman (1):
Refactor and make functional the getDmDeps and getDmTarget functions.
__init__.py | 59 ++++++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 42 insertions(+), 17 deletions(-)
Anaconda-devel-list mailing list
|All times are GMT. The time now is 07:28 AM.|
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.