[or-cvs] r17093: {updater} clean up some docstrings (updater/trunk/lib/thandy)

arma at seul.org arma at seul.org
Tue Oct 14 19:06:26 UTC 2008


Author: arma
Date: 2008-10-14 15:06:26 -0400 (Tue, 14 Oct 2008)
New Revision: 17093

Modified:
   updater/trunk/lib/thandy/keys.py
Log:
clean up some docstrings


Modified: updater/trunk/lib/thandy/keys.py
===================================================================
--- updater/trunk/lib/thandy/keys.py	2008-10-14 18:42:57 UTC (rev 17092)
+++ updater/trunk/lib/thandy/keys.py	2008-10-14 19:06:26 UTC (rev 17093)
@@ -32,8 +32,8 @@
     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 @@
         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.
         """



More information about the tor-commits mailing list