Hi,

this patch solves among probably other things the issue with the always
STUN and UPNP discovery despite them being disabled in the config-file.

Change line 105 in shtoom/Options.py

from                if val is not NoDefaultOption and val is not None:
to                    if o.value is NoDefaultOption and val is not
NoDefaultOption and val is not None:

Regards,
Frank
Index: shtoom/Options.py
===================================================================
--- shtoom/Options.py   (Revision 1597)
+++ shtoom/Options.py   (Arbeitskopie)
@@ -105,7 +105,7 @@
                 continue
             for o in g:
                 val = getattr(opts, o.name)
-                if val is not NoDefaultOption and val is not None:
+                if o.value is NoDefaultOption and val is not NoDefaultOption 
and val is not None:
                     o.value = val
 
     def setOptions(self, opts):
_______________________________________________
Shtoom mailing list
[email protected]
http://mail.python.org/mailman/listinfo/shtoom

Reply via email to