[master] Fix pylint error in yumpayload.
Vratislav Podzimek
vpodzime at redhat.com
Thu Mar 20 09:38:46 UTC 2014
On Wed, 2014-03-19 at 13:14 -0400, Chris Lumens wrote:
> > diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
> > index 06ee464..b1955b6 100644
> > --- a/pyanaconda/packaging/yumpayload.py
> > +++ b/pyanaconda/packaging/yumpayload.py
> > @@ -1190,7 +1190,7 @@ reposdir=%s
> > # If we're doing non-interactive ks install, raise CmdlineError,
> > # otherwise the system will just reboot automatically
> > if flags.automatedInstall and not flags.ksprompt:
> > - errtxt = _("CmdlineError: Missing package: %s" %str(exn))
> > + errtxt = _("CmdlineError: Missing package: %s") % str(exn)
> > log.error(errtxt)
> > raise CmdlineError(errtxt)
> > elif errorHandler.cb(exn, str(exn), adding) == ERROR_RAISE:
>
> ACK. Incidentally, I don't mind if people just push stuff like this
> without sending out an email. I don't know how the rest of you feel
> about it.
Absolutely agreed.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list