[augeas-devel] [PATCH] test: make sure local augeas.py is used

apevec at gmail.com apevec at gmail.com
Thu Dec 23 21:54:50 UTC 2010


From: Alan Pevec <apevec at redhat.com>

---
 test/test_augeas.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test_augeas.py b/test/test_augeas.py
index bf93503..1bc38fe 100644
--- a/test/test_augeas.py
+++ b/test/test_augeas.py
@@ -6,7 +6,7 @@ __mydir = os.path.dirname(sys.argv[0])
 if not os.path.isdir(__mydir):
     __mydir = os.getcwd()
 
-sys.path.append(__mydir + "/..")
+sys.path.insert(0, __mydir + "/..")
 
 import augeas
 
-- 
1.7.2.3




More information about the augeas-devel mailing list