Skip to content

Commit 18e127b

Browse files
committed
Update comment and typo.
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 1d25688 commit 18e127b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/attributecode/cmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def inventory(location, output, format, quiet, verbose): # NOQA
179179
print_version()
180180
click.echo('Collecting inventory from ABOUT files...')
181181

182-
# FIXME: do we really want to continue support zip as an input?
183182
if location.lower().endswith('.zip'):
184183
# accept zipped ABOUT files as input
185184
location = extract_zip(location)

src/attributecode/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def load_inventory(location, base_dir, reference_dir=None):
138138

139139
for f in required_fields:
140140
if f not in fields:
141-
msg = "Required fiel: %(f)r not found in the <input>" % locals()
141+
msg = "Required field: %(f)r not found in the <input>" % locals()
142142
errors.append(Error(ERROR, msg))
143143
return errors, abouts
144144
afp = fields.get(model.About.ABOUT_FILE_PATH_ATTR)

0 commit comments

Comments
 (0)