summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-04-12 15:13:44 +0100
committerLars Wirzenius <liw@liw.fi>2011-04-12 15:13:44 +0100
commit9e850086949bd77aa3ac0579693095f253806e2f (patch)
tree46ba13ef6e42ad0d00890ec93f7e00294fc660a6
parent9291f77f99c45c203c2e4cc8f756a106f5be42c5 (diff)
downloadobnam-9e850086949bd77aa3ac0579693095f253806e2f.tar.gz
Fix ClientList docstring.
-rw-r--r--obnamlib/clientlist.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/obnamlib/clientlist.py b/obnamlib/clientlist.py
index 99b6cfe6..2ac86bea 100644
--- a/obnamlib/clientlist.py
+++ b/obnamlib/clientlist.py
@@ -28,9 +28,11 @@ class ClientList(obnamlib.RepositoryTree):
The list maps a client name to an arbitrary (string) identifier,
which is unique within the repository.
- The list is implemented as a B-tree, with a two-part key:
- 128-bit MD5 of client name, and 64-bit unique identifier.
- The value is the client name.
+ The list is implemented as a B-tree, with a three-part key:
+ 128-bit MD5 of client name, 64-bit unique identifier, and subkey
+ identifier. The value depends on the subkey: it's either the
+ client's full name, or the public key identifier the client
+ uses to encrypt their backups.
The client's identifier is a random, unique 64-bit integer.