aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2021-03-25 11:25:51 +0100
committerGravatar kwzrd <[email protected]>2021-03-25 11:25:51 +0100
commit734573baa812dc697c4cbc40c39cd1899b2185ab (patch)
tree178347914da36466e326d1e58dcabcc5938ec7be
parentBranding: update 'synchronise' docs (diff)
Branding: improve 'compound_hash' docstring
-rw-r--r--bot/exts/backend/branding/_cog.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/exts/backend/branding/_cog.py b/bot/exts/backend/branding/_cog.py
index 0723458c2..1f9602401 100644
--- a/bot/exts/backend/branding/_cog.py
+++ b/bot/exts/backend/branding/_cog.py
@@ -32,7 +32,11 @@ class AssetType(Enum):
def compound_hash(objects: t.Iterable[RemoteObject]) -> str:
- """Compound hashes are cached to check for change in any of the member `objects`."""
+ """
+ Join SHA attributes of `objects` into a single string.
+
+ Compound hashes are cached to check for change in any of the member `objects`.
+ """
return "-".join(item.sha for item in objects)