]> git.ozlabs.org Git - patchwork/commit
Add HashField.construct() method
authorJeremy Kerr <jk@ozlabs.org>
Thu, 11 Sep 2008 05:53:08 +0000 (15:53 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 11 Sep 2008 05:53:08 +0000 (15:53 +1000)
commit0deabd4014cbc9419d203356786e966c4f803ea3
tree873f31695974f977ab64ff3c231348a5e1c01736
parent7cc12f61df06e90c09b706dc34007bce099a9350
Add HashField.construct() method

To construct a new hash object for the given algorithm. While we're at
it, clean up the hashlib-wrapping code.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/models.py