Created attachment 873424 [details] add missing import Description of problem: mockchain is missing import re Steps to Reproduce: 1. run mockchain with -a option Actual results: Traceback (most recent call last): File "/usr/bin/mockchain", line 352, in <module> main(sys.argv) File "/usr/bin/mockchain", line 251, in main res, msg = add_local_repo(my_mock_config, my_mock_config, baseurl) File "/usr/bin/mockchain", line 105, in add_local_repo repoid = re.sub(r'[^a-zA-Z0-9_]', '', repoid) NameError: global name 're' is not defined Expected results: no TB
Fixed in commit 635aba9ef2740babc70b72875043522a9ab988ed