Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 29, 2023
1 parent 8d790a5 commit 621910f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/relations/deprecated_shared_db_database_provides.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def __init__(self, relation: ops.Relation) -> None:
self._app_name = relation.app.name
self._endpoint_name = relation.name
if not relation.units:
raise remote_databag.IncompleteDatabag(app_name=self._app_name, endpoint_name=self._endpoint_name)
raise remote_databag.IncompleteDatabag(
app_name=self._app_name, endpoint_name=self._endpoint_name
)
assert len(relation.units) == 1
# Principal unit
remote_unit = relation.units.copy().pop()
Expand Down

0 comments on commit 621910f

Please sign in to comment.