Skip to content

Commit f6adf1e

Browse files
authored
Merge pull request #1376 from cmu-delphi/krivard/fix-utils-lint
Appease linter
2 parents 5726d89 + b449527 commit f6adf1e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

_delphi_utils_python/delphi_utils/archive.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,6 @@ def update_cache(self):
696696
if "archive" not in _params:
697697
_params = {"archive": _params, "common": _params}
698698

699-
logger = get_structured_logger(
699+
archiver_from_params(_params).run(get_structured_logger(
700700
__name__, filename=_params["common"].get("log_filename"),
701-
log_exceptions=_params["common"].get("log_exceptions", True))
702-
703-
archiver_from_params(_params).run(logger)
701+
log_exceptions=_params["common"].get("log_exceptions", True)))

0 commit comments

Comments
 (0)