From 57560582a087ac0a1ff483993a872d02ea9813e6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 14 Oct 2008 19:06:26 +0000 Subject: clean up some docstrings git-svn-id: file:///home/or/svnrepo/updater/trunk@17093 55e972cd-5a19-0410-ae62-a4d7a52db4cd --- lib/thandy/keys.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/thandy/keys.py b/lib/thandy/keys.py index 2f433b5..34b0e46 100644 --- a/lib/thandy/keys.py +++ b/lib/thandy/keys.py @@ -32,8 +32,8 @@ class PublicKey: def getKeyID(self): raise NotImplemented() def getRoles(self): - """Remove a list of all roles supported by this key. A role is - from this key. A role is a doctype,pathPattern tuple. + """Return a list of all roles supported by this key. A role is + a doctype,pathPattern tuple. """ return self._roles def addRole(self, role, path): @@ -172,7 +172,7 @@ class RSAKey(PublicKey): return hasattr(self.key, 'd') def format(self, private=False, includeRoles=False): - """Returna a new object to represent this key in json format. + """Return a new object to represent this key in json format. If 'private', include private-key data. If 'includeRoles', include role information. """ -- cgit v1.2.3