Skip to content

Commit

Permalink
Fix import and call related to 'configob.verify'.
Browse files Browse the repository at this point in the history
Fixes issue #301.
  • Loading branch information
csadorf committed Mar 7, 2020
1 parent fa2d8c4 commit 0489093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions signac/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,8 +718,7 @@ def main_update_cache(args):
#
#
def verify_config(cfg, preserve_errors=True):
verification = cfg.verify(
preserve_errors=preserve_errors, skip_missing=True)
verification = cfg.verify(preserve_errors=preserve_errors)
if verification is True:
_print_err("Passed.")
else:
Expand Down
2 changes: 1 addition & 1 deletion signac/common/configobj/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ def validate(self, validator, preserve_errors=False, copy=False,
if preserve_errors:
# We do this once to remove a top level dependency on the validate module
# Which makes importing configobj faster
from configobj.validate import VdtMissingValue
from .validate import VdtMissingValue
self._vdtMissingValue = VdtMissingValue

section = self
Expand Down

0 comments on commit 0489093

Please sign in to comment.