[Simple-cdd-devel] Bug#835446: Typo in mirror_reprepro.py

Josh Gadeken josh.gadeken at hpe.com
Thu Aug 25 19:01:39 UTC 2016


Package: src:simple-cdd
Version: 0.6.1
Tags: patch

Hello,

While attempting to use simple-cdd to generate a custom ISO, it failed with
this exception:

Traceback (most recent call last):
  File "/usr/bin/simple-cdd", line 637, in <module>
    scdd.build_mirror()
  File "/usr/bin/simple-cdd", line 261, in build_mirror
    self.run_tool("mirror", tool)
  File "/usr/bin/simple-cdd", line 358, in run_tool
    tool.run()
  File "/usr/lib/python3/dist-packages/simple_cdd/tools/mirror_reprepro.py", line 193, in run
    print_records("updates", "Name", field_order, updates_used, updates)
  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.

Best,
Josh Gadeken
Hewlett Packard Enterprise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_simple-cdd_typo.patch
Type: text/x-patch
Size: 608 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20160825/9820dcef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20160825/9820dcef/attachment.sig>


More information about the Simple-cdd-devel mailing list