[Python-modules-commits] r13964 - in packages/python-keyczar/trunk/debian/patches (1 file)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Fri Jul 16 18:28:22 UTC 2010


    Date: Friday, July 16, 2010 @ 18:28:20
  Author: chrisk-guest
Revision: 13964

Fix botched patch (missed a refresh)

Modified:
  packages/python-keyczar/trunk/debian/patches/0001-workaround-deprecated-interface.patch

Modified: packages/python-keyczar/trunk/debian/patches/0001-workaround-deprecated-interface.patch
===================================================================
--- packages/python-keyczar/trunk/debian/patches/0001-workaround-deprecated-interface.patch	2010-07-16 18:22:08 UTC (rev 13963)
+++ packages/python-keyczar/trunk/debian/patches/0001-workaround-deprecated-interface.patch	2010-07-16 18:28:20 UTC (rev 13964)
@@ -31,7 +31,7 @@
  def RandBytes(n):
    """Return n random bytes."""
 -  return randpool.RandomPool(512).get_bytes(n)
-+    return Random.new().read(n)
++  return Random.new().read(n)
  
  def Hash(*inputs):
    """Return a SHA-1 hash over a variable number of inputs."""




More information about the Python-modules-commits mailing list