[Yum-devel] [yum-commits] yum-complete-transaction.py

Tim Lauridsen tim.lauridsen at googlemail.com
Tue Mar 2 11:28:21 UTC 2010


On Tue, Mar 2, 2010 at 4:57 AM, James Antill <james at osuosl.org> wrote:

>  yum-complete-transaction.py |    1 +
>  1 file changed, 1 insertion(+)
>
> New commits:
> commit c65516666fdca02f6f1500134d8a6832176320c7
> Author: James Antill <james at and.org>
> Date:   Mon Mar 1 22:57:07 2010 -0500
>
>    Add yum-utils to the run_with_packages when running y-c-t
>
> diff --git a/yum-complete-transaction.py b/yum-complete-transaction.py
> index ba41a51..0a9f5df 100755
> --- a/yum-complete-transaction.py
> +++ b/yum-complete-transaction.py
> @@ -161,6 +161,7 @@ class YumCompleteTransaction(YumUtilBase):
>         # populate the ts
>         # run it
>
> +        self.run_with_package_names.add('yum-utils')
>         times = []
>         for thistime in find_unfinished_transactions(self.conf.persistdir):
>             if thistime.endswith('disabled'):
> _______________________________________________
> http://lists.baseurl.org/mailman/listinfo/yum-commits
>

What about adding

self.run_with_package_names.add('yum-utils')

to utils.py then all tools based on YumUtilBase with get it, instead of
adding it to the tools it self ?

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20100302/9d718cbb/attachment.htm>


More information about the Yum-devel mailing list