]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
more new-pyflakes warnings fixed
authorBrian Warner <warner@allmydata.com>
Wed, 19 Dec 2007 01:51:33 +0000 (18:51 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 19 Dec 2007 01:51:33 +0000 (18:51 -0700)
src/allmydata/test/test_mutable.py

index a1b7bc9ca7254c7dc53bc19d1975acd9679666a8..43eb1f9368f55b0dfa1713802b2cbc6300ee16a9 100644 (file)
@@ -29,9 +29,6 @@ class FakeFilenode(mutable.MutableFileNode):
     def init_from_uri(self, myuri):
         mutable.MutableFileNode.init_from_uri(self, myuri)
         return self
-    def replace(self, newdata, wait_for_numpeers=None):
-        self.all_contents[self.get_uri()] = newdata
-        return defer.succeed(self)
     def _generate_pubprivkeys(self):
         count = self.counter.next()
         return FakePubKey(count), FakePrivKey(count)