From 90ad8cd46ff9870c19fe26b1f90c8abece5cc0da Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Sep 2014 16:57:28 +0100 Subject: [PATCH] make-secnet-sites: Put our path component at the beginning Otherwise installing the modern `ipaddr' python module (as found eg python-ipaddr.deb) breaks secnet, because it will appear on the path before our own copy of the Cendio Systems AB one. Signed-off-by: Ian Jackson --- make-secnet-sites | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-secnet-sites b/make-secnet-sites index 966bb77..b8a2077 100755 --- a/make-secnet-sites +++ b/make-secnet-sites @@ -57,8 +57,8 @@ import getopt import re # The ipaddr library is installed as part of secnet -sys.path.append("/usr/local/share/secnet") -sys.path.append("/usr/share/secnet") +sys.path.insert(0,"/usr/local/share/secnet") +sys.path.insert(0,"/usr/share/secnet") import ipaddr VERSION="0.1.18" -- 2.11.0