From: Brian Warner <warner@allmydata.com>
Date: Fri, 10 Oct 2008 00:29:22 +0000 (-0700)
Subject: debug.py: oops, add missing import for ReadBucketProxy
X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/simplejson/?a=commitdiff_plain;h=a0250e320b39868b656495fb2982b6e60842d848;p=tahoe-lafs%2Ftahoe-lafs.git

debug.py: oops, add missing import for ReadBucketProxy
---

diff --git a/src/allmydata/scripts/debug.py b/src/allmydata/scripts/debug.py
index 863e1e65..728d7527 100644
--- a/src/allmydata/scripts/debug.py
+++ b/src/allmydata/scripts/debug.py
@@ -651,6 +651,7 @@ def corrupt_share(options):
     import random
     from allmydata import storage
     from allmydata.mutable.layout import unpack_header
+    from allmydata.immutable.layout import ReadBucketProxy
     out = options.stdout
     fn = options['filename']
     assert options["offset"] == "block-random", "other offsets not implemented"