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

[tor-commits] [ooni-probe/master] Add hack to make import of txtorcon work



commit b132993ed859b2c727edd2a6db08b08c011a8b29
Author: Arturo Filastò <hellais@xxxxxxxxxxxxxx>
Date:   Sat Jun 2 14:05:49 2012 +0200

    Add hack to make import of txtorcon work
---
 ooni/lib/__init__.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ooni/lib/__init__.py b/ooni/lib/__init__.py
new file mode 100644
index 0000000..fac7035
--- /dev/null
+++ b/ooni/lib/__init__.py
@@ -0,0 +1,9 @@
+import sys
+import os
+
+pwd = os.path.dirname(__file__)
+#child_path = os.path.normpath(os.path.join(pwd, '..'))
+#sys.path.append(child_path)
+sys.path.append(pwd)
+
+



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