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

[tor-commits] [ooni-probe/master] Import SocksiPy and handle erro



commit 23d5d1108fb8f550c0ffafb0b3255d600b864589
Author: Arturo Filastò <hellais@xxxxxxxxx>
Date:   Fri Feb 10 21:39:05 2012 +0100

    Import SocksiPy and handle erro
---
 refactor/plugoo.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/refactor/plugoo.py b/refactor/plugoo.py
index de33445..079a58f 100644
--- a/refactor/plugoo.py
+++ b/refactor/plugoo.py
@@ -15,6 +15,10 @@ import os
 
 import yaml
 
+try:
+    import socks
+except:
+    "Error SocksiPy is not installed!"
 import socket
 
 import logging

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