From: W. Trevor King Date: Thu, 12 May 2011 17:22:55 +0000 (-0400) Subject: Update libbe.util.id other_uuids documentation (may contain uuid). X-Git-Tag: 1.1.0~189 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=571dfd378b59da55d9164185af478878137f2fa2;p=be.git Update libbe.util.id other_uuids documentation (may contain uuid). --- diff --git a/libbe/util/id.py b/libbe/util/id.py index 8d8c75c..aa129a3 100644 --- a/libbe/util/id.py +++ b/libbe/util/id.py @@ -224,8 +224,8 @@ def _truncate(uuid, other_uuids, min_length=3): uuid : str The UUID to truncate. other_uuids : list of str - The other UUIDs which the truncation *might* (but doesn't) refer - to. + The other UUIDs which the truncation *might* refer to. May + contain `uuid`. min_length : int Avoid rapidly outdated truncations, even if they are unique now. @@ -255,8 +255,8 @@ def _expand(truncated_id, common, other_ids): `other_ids`. Not used by ``_expand``, but passed on to the matching exceptions if they occur. other_uuids : list of str - The other UUIDs which the truncation *might* (but doesn't) refer - to. + The other UUIDs which the truncation *might* refer to. May + contain `uuid`. Raises ------