[tor-commits] [ooni-probe/master] Remove unnecessary import of paramiko
art at torproject.org
art at torproject.org
Thu May 31 03:01:43 UTC 2012
commit 173bcbd5c5fa3cf59330782ad59bf6d8acc661f3
Author: Arturo Filastò <hellais at torproject.org>
Date: Thu May 31 04:54:42 2012 +0200
Remove unnecessary import of paramiko
---
ooni/plugoo/reports.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/ooni/plugoo/reports.py b/ooni/plugoo/reports.py
index 44634b8..099aff7 100644
--- a/ooni/plugoo/reports.py
+++ b/ooni/plugoo/reports.py
@@ -35,11 +35,7 @@ class Report:
# tmp[-1]
# print self.file
- try:
- import paramiko
- except:
- self.scp = None
- log.err("Could not import paramiko. SCP will not be disabled")
+ self.scp = None
def __call__(self, data):
"""
More information about the tor-commits
mailing list