Skip to content

Commit

Permalink
more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jun 27, 2022
1 parent f8392e9 commit 49106ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npe2/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def _make_rows(pm_dict: dict, normed_fields: Sequence[str]) -> Iterator[List]:
if not val and "." in field:
parts = field.split(".")
val = info
while parts and val:
while parts and hasattr(val, "__getitem__"):
val = val[parts.pop(0)]

# negate fields starting with !
Expand Down

0 comments on commit 49106ef

Please sign in to comment.