utils/migrate-system-profile | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e555355721833d7ad84d7742d9ce3baf5dfeaf06
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Tue Oct 5 11:22:40 2010 +0200
639818 - fixing sys path
diff --git a/utils/migrate-system-profile b/utils/migrate-system-profile
index 9a7263e..77a4915 100755
--- a/utils/migrate-system-profile
+++ b/utils/migrate-system-profile
@@ -33,6 +33,10 @@ def systemExit(code, msgs=None):
sys.stderr.write(str(msg)+'\n')
sys.exit(code)
+_LIBPATH = "/usr/share/rhn"
+# add to the path if need be
+if _LIBPATH not in sys.path:
+ sys.path.append(_LIBPATH)
try:
import os
Show replies by date