[Kimchi-devel] [PATCH 2/3] Use more generic message in repo mirror list error

Aline Manera alinefm at linux.vnet.ibm.com
Thu Mar 26 19:51:17 UTC 2015


Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>

On 24/03/2015 15:16, Crístian Viana wrote:
> The current error message when the user provides an invalid mirror list
> URL implies that the repository is DEB-based, but that error message is
> used for other repository types as well (e.g. YUM).
>
> Update the repository mirror list error message in order to be valid for
> all repository types.
>
> Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
> ---
>   src/kimchi/i18n.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/kimchi/i18n.py b/src/kimchi/i18n.py
> index e4e1a89..dc0830a 100644
> --- a/src/kimchi/i18n.py
> +++ b/src/kimchi/i18n.py
> @@ -292,7 +292,7 @@ messages = {
>       "KCHREPOS0004E": _("Distribution to DEB repository must be a string"),
>       "KCHREPOS0005E": _("Components to DEB repository must be listed in a array"),
>       "KCHREPOS0006E": _("Components to DEB repository must be a string"),
> -    "KCHREPOS0007E": _("Mirror list to DEB repository must be a string"),
> +    "KCHREPOS0007E": _("Mirror list to repository must be a string"),
>       "KCHREPOS0008E": _("YUM Repository name must be string."),
>       "KCHREPOS0009E": _("GPG check must be a boolean value."),
>       "KCHREPOS0010E": _("GPG key must be a URL pointing to the ASCII-armored file."),




More information about the Kimchi-devel mailing list