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

James Antill james at fedoraproject.org
Wed Mar 3 06:37:41 UTC 2010


On Tue, 2010-03-02 at 12:28 +0100, Tim Lauridsen wrote:
> 
> 
> 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 ?

 The reason I didn't put it in YumUtilBase is because that's shipped as
part of yum ... so, in theory, anything can use it.




More information about the Yum-devel mailing list