testing: this is to avoid building failing while building myplc-doc
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Wed, 21 Oct 2009 10:15:07 +0000 (10:15 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Wed, 21 Oct 2009 10:15:07 +0000 (10:15 +0000)
tools.py

index 60838c7..f3e67e1 100644 (file)
--- a/tools.py
+++ b/tools.py
@@ -8,10 +8,11 @@ import tempfile
 import threading
 import fcntl
 import commands
-import sioc
-
 import logger
-
+try:
+   import sioc
+except:
+   pass
 
 PID_FILE = '/var/run/nm.pid'