[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Gentoo doesn't have any connection resolvers



commit ec293c08abaa4502876e98b5dbd277dfff33dd0b
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Dec 10 08:40:16 2014 -0800

    Gentoo doesn't have any connection resolvers
    
    Well... damn. Looks like Gentoo doesn't have any connection resolvers we can
    use...
    
      https://trac.torproject.org/projects/tor/ticket/13904#comment:17
---
 stem/util/connection.py |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/util/connection.py b/stem/util/connection.py
index c94b6fe..feb1b34 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -255,6 +255,8 @@ def system_resolvers(system = None):
     resolvers = []
   elif system in ('Darwin', 'OpenBSD'):
     resolvers = [Resolver.LSOF]
+  elif stem.util.system.is_gentoo():
+    resolvers = []
   elif system == 'FreeBSD':
     # Netstat is available, but lacks a '-p' equivilant so we can't associate
     # the results to processes. The platform also has a ss command, but it

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits