summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-10-14 19:06:26 +0000
committerRoger Dingledine <arma@torproject.org>2008-10-14 19:06:26 +0000
commit57560582a087ac0a1ff483993a872d02ea9813e6 (patch)
treeb12ad995ecdb4ccd71a4757aa3fa84d3326eb3f0 /lib
parentce277674b98c0e75f5eecd95fe6ff052607a0c22 (diff)
clean up some docstrings
git-svn-id: file:///home/or/svnrepo/updater/trunk@17093 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib')
-rw-r--r--lib/thandy/keys.py6
1 files changed, 3 insertions, 3 deletions
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.
"""