[mnet-devel] Re: [mnet-cvs]made hivecache dependency optionally hard, and allowed rfc...

Bryce Wilcox-O'Hearn zooko at zooko.com
Sat Oct 11 14:24:47 BST 2003


> Modified Files:
>       Tag: branch_metatrackerrouter
> 	startup.py 
> Log Message:
> made hivecache dependency optionally hard, and allowed rfc1918 addresses
> to be used by setting a conf setting
...
>              debugprint("WARNING: Unable to load hivelib.mnet_mods.bees: HiveCache code will not run\n", vs='MnetNode')
> +            if confutils.is_true_bool(self.confdict.get("REQUIRE_HIVECACHE", 'no')):
> +                raise SystemExit("Unable to load hivelib.mnet_mods.bees:")

I think this should be "if confutils.is_true_bool(('REQUIRE_HIVECACHE',)):", 
but I'm not sure of the default argument.  I think the above won't work.

--Z



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list