Skip to content

Commit 8a47b41

Browse files
committed
mapping.config wasn't picked up because the variable name was changed
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 6efa535 commit 8a47b41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/attributecode/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def gen(location, output, mapping, license_notice_text_location, fetch_license,
210210
click.echo('Generating .ABOUT files...')
211211

212212
errors, abouts = attributecode.gen.generate(
213-
location=location, base_dir=output, mapping=mapping,
213+
location=location, base_dir=output, use_mapping=mapping,
214214
license_notice_text_location=license_notice_text_location,
215215
fetch_license=fetch_license)
216216

tests/test_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ def test_log_errors_with_quiet(capsys):
6363
cmd.log_errors(errors, quiet, base_dir='')
6464
out, err = capsys.readouterr()
6565
assert '' == out
66-
assert '' == err
66+
assert '' == err

0 commit comments

Comments
 (0)