check_memory: don't accept shares for download/download-GET test, since that hits bug #97

This commit is contained in:
Brian Warner 2007-09-18 19:40:29 -07:00
parent f6acf5a0c3
commit 2886c5aeae

View File

@ -171,10 +171,14 @@ 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", "download", "download-GET"):
if self.mode in ("upload-self"):
f = open(os.path.join(clientdir, "push_to_ourselves"), "w")
f.write("push_to_ourselves\n")
f.close()
else:
f = open(os.path.join(clientdir, "sizelimit"), "w")
f.write("0\n")
f.close()
self.keepalive_file = os.path.join(clientdir,
"suicide_prevention_hotline")
# now start updating the mtime.