[tor-commits] [flashproxy/master] anchor path for manual import so `make distcheck` works
infinity0 at torproject.org
infinity0 at torproject.org
Thu Nov 21 13:18:47 UTC 2013
commit 053b75bfe2c7d14e0a92376b2569dff78bcf775d
Author: Ximin Luo <infinity0 at gmx.com>
Date: Mon Nov 18 16:38:06 2013 +0000
anchor path for manual import so `make distcheck` works
---
facilitator/facilitator-test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/facilitator/facilitator-test.py b/facilitator/facilitator-test.py
index 8debb82..3a960fe 100755
--- a/facilitator/facilitator-test.py
+++ b/facilitator/facilitator-test.py
@@ -16,7 +16,7 @@ from fac import Transport, Endpoint
import imp
dont_write_bytecode = sys.dont_write_bytecode
sys.dont_write_bytecode = True
-facilitator = imp.load_source("facilitator", "facilitator")
+facilitator = imp.load_source("facilitator", os.path.join(os.path.dirname(__file__), "facilitator"))
Endpoints = facilitator.Endpoints
parse_relay_file = facilitator.parse_relay_file
sys.dont_write_bytecode = dont_write_bytecode
More information about the tor-commits
mailing list