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 Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 11:47 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.