Skip to content

Commit

Permalink
♻️ Refactored by Sourcery
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI authored and s-weigand committed Jan 21, 2022
1 parent 554a99e commit 19439ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glotaran/deprecation/deprecation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def __getattr__(attribute_name: str):
.. # noqa: DAR402
"""
if module_load_overwrite == "":
if not module_load_overwrite:
module_name = ".".join(new_qual_name.split(".")[:-1])
attribute_name = new_qual_name.split(".")[-1]
check_qual_names = (False, True)
Expand Down

0 comments on commit 19439ef

Please sign in to comment.