Control: tags 835446 pending

On 2016-08-25, Josh Gadeken wrote:
> While attempting to use simple-cdd to generate a custom ISO, it failed with
> this exception:
>
> Traceback (most recent call last):
...
>   File "/usr/lib/python3/dist-packages/simple_cdd/tools/mirror_reprepro.py", 
> line 184, in print_records
>     print("{}: {}".format(field, self.env.format(val, 
> verify_release_keys=verify_release_keys)), file=fd)
>   File "/usr/lib/python3/dist-packages/simple_cdd/env.py", line 390, in format
>     return string.format(*args, **kwargs)
> KeyError: 'security_mirro'
>
>
> I traced the problem down to what looks like a typo in mirror_reprepro.py. I
> have included a patch which fixes the typo.

Thanks for the patch!

Applied to git, will include in an upcoming upload:

  https://anonscm.debian.org/cgit/collab-maint/simple-cdd.git/commit/

live well,
  vagrant


> diff --git a/simple_cdd/tools/mirror_reprepro.py 
> b/simple_cdd/tools/mirror_reprepro.py
> index 6ffcb50..81381ab 100644
> --- a/simple_cdd/tools/mirror_reprepro.py
> +++ b/simple_cdd/tools/mirror_reprepro.py
> @@ -75,7 +75,7 @@ class ToolMirrorReprepro(ToolShell):
>                  "Suite": "*/updates",
>                  "Architectures": "{ARCHES}",
>                  "UDebComponents": "",
> -                "Method": "{security_mirro}r",
> +                "Method": "{security_mirror}",
>                  "FilterList": "deinstall package-list",
>                  "VerifyRelease": "{verify_release_keys}",
>              },

Attachment: signature.asc
Description: PGP signature

Reply via email to