]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
check_memory: oops, silly bug make 'upload' push to ourselves, raising the usage
authorBrian Warner <warner@allmydata.com>
Wed, 19 Sep 2007 11:14:48 +0000 (04:14 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 19 Sep 2007 11:14:48 +0000 (04:14 -0700)
src/allmydata/test/check_memory.py

index ff2716b0aa7af434662f80581002c0792d3bc900..bdd505214d352ef07eea3650fa7ca5a4fbcf46d2 100644 (file)
@@ -215,7 +215,7 @@ this file are ignored.
             f = open(os.path.join(clientdir, "debug_no_storage"), "w")
             f.write("no_storage\n")
             f.close()
-        if self.mode in ("upload-self"):
+        if self.mode == "upload-self":
             f = open(os.path.join(clientdir, "push_to_ourselves"), "w")
             f.write("push_to_ourselves\n")
             f.close()