From 25be68953df9bbff047039f66b7f329853120a59 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 17 Dec 2011 20:59:15 +0100
Subject: [PATCH] don't fails when farsight isn't available

---
 src/common/jingle_transport.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/common/jingle_transport.py b/src/common/jingle_transport.py
index 521564e87d..50cbd7ffc1 100644
--- a/src/common/jingle_transport.py
+++ b/src/common/jingle_transport.py
@@ -72,7 +72,10 @@ class JingleTransport(object):
         return []
 
 
-import farsight
+try:
+    import farsight
+except Exception:
+    pass
 
 class JingleTransportICEUDP(JingleTransport):
     def __init__(self):
-- 
GitLab