Skip to content

Commit

Permalink
remove _inspec ConfigObj argument usage
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Sep 5, 2023
1 parent e82a1f0 commit 40754d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stpipe/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ def load_spec_file(cls, preserve_comments=False):
else:
spec_file = utilities.find_spec_file(cls)
if spec_file:
return ConfigObj(
cfg = ConfigObj(
spec_file,
_inspec=not preserve_comments,
raise_errors=True,
list_values=False,
)
return cfg
return


Expand Down

0 comments on commit 40754d2

Please sign in to comment.