From 0c7d4e1849a7c2fe235bad1318da7e5e8bbb70e1 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 4 May 2009 22:57:46 +0000 Subject: [PATCH] add old path to keyconvert serach path --- geni/gimport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geni/gimport.py b/geni/gimport.py index fd886890..02865e0b 100755 --- a/geni/gimport.py +++ b/geni/gimport.py @@ -58,7 +58,8 @@ loaded = False default_path = "/usr/shre/keyconvert/" + keyconvert cwd = os.path.dirname(os.path.abspath(__file__)) alt_path = os.sep.join(cwd.split(os.sep)[:-1] + ['keyconvert', 'keyconvert']) -files = [default_path, alt_path] +geni_path = config.GENI_BASE_DIR + os.sep + "keyconvert/keyconvert" +files = [default_path, alt_path, geni_path] for path in files: if os.path.isfile(path): keyconvert_fn = path -- 2.43.0