Mercurial > p > roundup > code
diff roundup/password.py @ 275:1cc866cec608
Moved the data stringification up into the hyperdb.Class class's...
...get, set and create methods. This means that the data is also
stringified for the journal call, and removes duplication of code from
the backends. The backend code now only sees strings.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 09 Oct 2001 23:58:10 +0000 |
| parents | a4241ddd22d7 |
| children | d1fb3fcdb11b |
line wrap: on
line diff
--- a/roundup/password.py Tue Oct 09 23:36:25 2001 +0000 +++ b/roundup/password.py Tue Oct 09 23:58:10 2001 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: password.py,v 1.1 2001-10-09 07:25:59 richard Exp $ +# $Id: password.py,v 1.2 2001-10-09 23:58:10 richard Exp $ import sha, re @@ -75,7 +75,7 @@ self.password = m.group(2) else: # currently plaintext - encrypt - self.password = encodePassword(plaintext, self.default_scheme) + self.password = encodePassword(encrypted, self.default_scheme) self.scheme = self.default_scheme def setPassword(self, plaintext): @@ -106,6 +106,10 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.1 2001/10/09 07:25:59 richard +# Added the Password property type. See "pydoc roundup.password" for +# implementation details. Have updated some of the documentation too. +# # # # vim: set filetype=python ts=4 sw=4 et si
