--- yum/updateinfo.py | 2 +- yumcommands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/yum/updateinfo.py b/yum/updateinfo.py index 1cc207f..8d91f88 100644 --- a/yum/updateinfo.py +++ b/yum/updateinfo.py @@ -513,7 +513,7 @@ def update_minimal(base, extcmds=[]): if extcmds and not _match_sec_cmd(extcmds, name, notice): continue if (not ndata and - not _ysp_should_filter_pkg(base, name, notice, used_map)): + not _ysp_should_filter_pkg(opts, name, notice, used_map)): continue txmbrs.extend(base.update(name=pkgtup[0], arch=pkgtup[1], epoch=pkgtup[2], diff --git a/yumcommands.py b/yumcommands.py index 4214383..a1007b2 100644 --- a/yumcommands.py +++ b/yumcommands.py @@ -4154,7 +4154,7 @@ class UpdateMinimalCommand(YumCommand): num = len(base.tsInfo) _upi.update_minimal(base, extcmds) - num -= len(base.tsInfo) + num = len(base.tsInfo) - num if num > 0: msg = '%d packages marked for minimal Update' % num -- 1.8.5.3 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel