Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick96 committed Sep 4, 2023
1 parent 85be173 commit 970372d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mx_jardistribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,9 +582,9 @@ def _config_as_json(self) -> str:

def add_attribute(key, value):
"""
Adds an attribute to the config dict and makes sure no entry is overwritten.
If entries are overwritten, the overwritten attribute is ignored when checking for updates.
Adds an attribute to the config dict and makes sure no entry is
overwritten, because otherwise attributes are ignored when checking
for updated.
"""
assert key not in config, f"Duplicate value in distribution config: {key}"
config[key] = value
Expand Down

0 comments on commit 970372d

Please sign in to comment.