patch: minor bugfix in cryptutil.py
Ryan Barrett
openid at ryanb.org
Sat Aug 25 20:40:24 PDT 2007
and again, with the patch. :P
On Sat, 25 Aug 2007, Ryan Barrett wrote:
> hi all. i've attached a patch that fixes a minor bug in the python openid
> library, in cryptutil.py. the patch is against 2.0.0-rc3b.
>
> specifically, cryptutil has a code path that tries a few different sources of
> randomness in succession. one of them expects an OSError if a file() call
> fails, but file() throws IOError, not OSError. we're trying out the python
> openid library in a chroot, so this bit us.
>
> -Ryan
>
> p.s. out of curiosity, why are comments on openidenabled.com disabled?
>
> --
> http://snarfed.org/
>
-Ryan
--
http://snarfed.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptutil_ioerror.patch
Type: text/x-diff
Size: 805 bytes
Desc:
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070825/3359bdda/attachment.bin
More information about the Dev
mailing list