From: Brian Warner Date: Sat, 6 Jan 2007 04:12:26 +0000 (-0700) Subject: use absolute import of 'allmydata.Crypto' rather than a relative import of just ... X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~390 X-Git-Url: https://git.rkrishnan.org/components/htmlfontify-example.html?a=commitdiff_plain;h=9382d612089cda5e1638c1203d42330b435618d4;p=tahoe-lafs%2Ftahoe-lafs.git use absolute import of 'allmydata.Crypto' rather than a relative import of just 'Crypto', to make it clear that we're using our own form rather than relying upon the system version --- diff --git a/src/allmydata/encode_new.py b/src/allmydata/encode_new.py index 3c136b28..ec6fd66c 100644 --- a/src/allmydata/encode_new.py +++ b/src/allmydata/encode_new.py @@ -2,7 +2,7 @@ from twisted.internet import defer from allmydata.chunk import HashTree, roundup_pow2 -from Crypto.Cipher import AES +from allmydata.Crypto.Cipher import AES import sha from allmydata.util import mathutil from allmydata.encode import PyRSEncoder