From: Brian Warner Date: Wed, 19 Sep 2007 11:14:48 +0000 (-0700) Subject: check_memory: oops, silly bug make 'upload' push to ourselves, raising the usage X-Git-Tag: allmydata-tahoe-0.6.0~69 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20//%22%22?a=commitdiff_plain;h=ee9b7fd67893d573cf0bdc0228dc0de85e969128;p=tahoe-lafs%2Ftahoe-lafs.git check_memory: oops, silly bug make 'upload' push to ourselves, raising the usage --- diff --git a/src/allmydata/test/check_memory.py b/src/allmydata/test/check_memory.py index ff2716b0..bdd50521 100644 --- a/src/allmydata/test/check_memory.py +++ b/src/allmydata/test/check_memory.py @@ -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()