From ee9b7fd67893d573cf0bdc0228dc0de85e969128 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Wed, 19 Sep 2007 04:14:48 -0700
Subject: [PATCH] check_memory: oops, silly bug make 'upload' push to
 ourselves, raising the usage

---
 src/allmydata/test/check_memory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()
-- 
2.45.2