From 812f23585d4bdbdf31f73e7cc2e90f88f62231ec Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Sun, 15 Feb 2009 16:23:10 -0700
Subject: [PATCH] test_repairer: hush pyflakes

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

diff --git a/src/allmydata/test/test_repairer.py b/src/allmydata/test/test_repairer.py
index d26f95b9..e8032f23 100644
--- a/src/allmydata/test/test_repairer.py
+++ b/src/allmydata/test/test_repairer.py
@@ -385,9 +385,9 @@ class DownUpConnector(unittest.TestCase):
         duc2.write('\x04')
         d = duc2.read_encrypted(2, False)
 
-        def _callb(res):
+        def _callb2(res):
             self.fail("Shouldn't have gotten this callback res: %s" % (res,))
-        d.addCallback(_callb)
+        d.addCallback(_callb2)
 
         # But once the DUC is closed then you *do* get short reads.
         duc3 = repairer.DownUpConnector()
@@ -396,10 +396,10 @@ class DownUpConnector(unittest.TestCase):
         d = duc3.read_encrypted(2, False)
         duc3.write('\x04')
         duc3.close()
-        def _callb(res):
+        def _callb3(res):
             self.failUnlessEqual(len(res), 1)
             self.failUnlessEqual(res[0], '\x04')
-        d.addCallback(_callb)
+        d.addCallback(_callb3)
         return d
 
     def test_short_reads_2(self):
-- 
2.45.2