[Yum-devel] [PATCH] add yum config and enabled repos as additional history info - stored per transaction

Ville Skyttä ville.skytta at iki.fi
Tue Jun 29 21:15:16 UTC 2010


On Tue, Jun 29, 2010 at 12:20 AM, Seth Vidal <skvidal at fedoraproject.org> wrote:

> @@ -4690,3 +4693,12 @@ class YumBase(depsolve.Depsolve):
>
>         return True
>
> +    def _store_config_in_history(self):
> +        myconf += self.conf.dump()

Should this be "=" instead of "+="?  I see this:

File "/home/scop/cvs/yum/yum/__init__.py", line 4701, in
_store_config_in_history
    myconf += self.conf.dump()
UnboundLocalError: local variable 'myconf' referenced before assignment


More information about the Yum-devel mailing list