aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util/id.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/util/id.py')
-rw-r--r--libbe/util/id.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/libbe/util/id.py b/libbe/util/id.py
index 8d8c75c..c14dd90 100644
--- a/libbe/util/id.py
+++ b/libbe/util/id.py
@@ -1,4 +1,5 @@
-# Copyright (C) 2008-2011 Gianluca Montecchi <gian@grys.it>
+# Copyright (C) 2008-2011 Chris Ball <cjb@laptop.org>
+# Gianluca Montecchi <gian@grys.it>
# W. Trevor King <wking@drexel.edu>
#
# This file is part of Bugs Everywhere.
@@ -224,8 +225,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 +256,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
------