From d788ef1c418ea3a9bc2cc7e8a32ccadee6bf8393 Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont@gmail.com> Date: Wed, 31 Jan 2018 10:33:34 +0100 Subject: [PATCH] swh.model.identifiers: Fix typo in snapshot_identifier docstring --- swh/model/identifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/model/identifiers.py b/swh/model/identifiers.py index 51d2d2e9..d779c522 100644 --- a/swh/model/identifiers.py +++ b/swh/model/identifiers.py @@ -538,7 +538,7 @@ def snapshot_identifier(snapshot, *, ignore_unresolved=False): - the branch name (as raw bytes) - a null byte (``\\x00``) - the length of the target identifier, as an ascii-encoded decimal number - (``20`` for current intrinisic identifiers, ``0`` for dangling + (``20`` for current intrinsic identifiers, ``0`` for dangling branches, the length of the target branch name for branch aliases) - a colon (``:``) - the identifier of the target object pointed at by the branch, -- GitLab