[master] Fix pylint error in yumpayload.

Chris Lumens clumens at redhat.com
Wed Mar 19 17:14:40 UTC 2014


> 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.

- Chris


More information about the anaconda-patches mailing list