From nextgens at freenetproject.org Fri Sep 8 21:21:59 2006 From: nextgens at freenetproject.org (nextgens at freenetproject.org) Date: Fri, 8 Sep 2006 21:21:59 +0000 (UTC) Subject: [Pyfreenet] r10437 - trunk/apps/pyFreenet/fcp Message-ID: <20060908212159.E93BA9BCC5@emu.freenetproject.org> Author: nextgens Date: 2006-09-08 21:21:58 +0000 (Fri, 08 Sep 2006) New Revision: 10437 Modified: trunk/apps/pyFreenet/fcp/node.py Log: pyfreenet: MaxRetries ought to be set to -1 and not 3 Modified: trunk/apps/pyFreenet/fcp/node.py =================================================================== --- trunk/apps/pyFreenet/fcp/node.py 2006-09-08 21:12:58 UTC (rev 10436) +++ trunk/apps/pyFreenet/fcp/node.py 2006-09-08 21:21:58 UTC (rev 10437) @@ -437,7 +437,7 @@ opts['URI'] = uri - opts['MaxRetries'] = kw.get("maxretries", 3) + opts['MaxRetries'] = kw.get("maxretries", -1) opts['MaxSize'] = kw.get("maxsize", "1000000000000") opts['PriorityClass'] = int(kw.get("priority", 1)) @@ -583,7 +583,7 @@ chkOnly = toBool(kw.get("chkonly", "false")) opts['Verbosity'] = kw.get('Verbosity', 0) - opts['MaxRetries'] = kw.get("maxretries", 3) + opts['MaxRetries'] = kw.get("maxretries", -1) opts['PriorityClass'] = kw.get("priority", 3) opts['GetCHKOnly'] = chkOnly opts['DontCompress'] = toBool(kw.get("nocompress", "false"))