From 8f2ec16b2ce108f695b5e3c8103e2108fe24c880 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Mon, 12 Jan 2009 15:45:09 -0700
Subject: [PATCH] test_repairer.py: hush pyflakes: remove duplicate/shadowed
 function name, by using the earlier definition (which is identical)

---
 src/allmydata/test/test_repairer.py | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/allmydata/test/test_repairer.py b/src/allmydata/test/test_repairer.py
index 17d3ac29..92d0f56c 100644
--- a/src/allmydata/test/test_repairer.py
+++ b/src/allmydata/test/test_repairer.py
@@ -354,8 +354,9 @@ class Repairer(common.ShareManglingMixin, unittest.TestCase):
         d.addCallback(self.find_shares)
         d.addCallback(lambda x: self.failUnlessEqual(x, {}))
 
-        # The following process of deleting 8 of the shares and asserting that you can't
-        # download it is more to test this test code than to test the Tahoe code...
+        # The following process of deleting 8 of the shares and asserting
+        # that you can't download it is more to test this test code than to
+        # test the Tahoe code...
         def _then_delete_8(unused=None):
             self.replace_shares(stash[0], storage_index=self.uri.storage_index)
             for i in range(8):
@@ -375,12 +376,9 @@ class Repairer(common.ShareManglingMixin, unittest.TestCase):
             d.addCallbacks(_after_download_callb, _after_download_errb)
         d.addCallback(_then_download)
 
-        # The following process of deleting 8 of the shares and asserting that you can't repair
-        # it is more to test this test code than to test the Tahoe code...
-        def _then_delete_8(unused=None):
-            self.replace_shares(stash[0], storage_index=self.uri.storage_index)
-            for i in range(8):
-                self._delete_a_share()
+        # The following process of deleting 8 of the shares and asserting
+        # that you can't repair it is more to test this test code than to
+        # test the Tahoe code...
         d.addCallback(_then_delete_8)
 
         def _then_repair(unused=None):
-- 
2.45.2