[Simple-cdd-devel] Bug#835446: #835446: Typo in mirror_reprepro.py
Vagrant Cascadian
vagrant at debian.org
Fri Nov 25 02:07:41 UTC 2016
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}",
> },
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20161124/9a8d14af/attachment.sig>
More information about the Simple-cdd-devel
mailing list