diff --git a/bin/heat b/bin/heat index 4aa5638c27..e854066379 100755 --- a/bin/heat +++ b/bin/heat @@ -35,20 +35,8 @@ from urlparse import urlparse possible_topdir = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]), os.pardir, os.pardir)) -jeos_path = '' -cfntools_path = '' if os.path.exists(os.path.join(possible_topdir, 'heat', '__init__.py')): sys.path.insert(0, possible_topdir) - jeos_path = '%s/heat/%s/' % (possible_topdir, "jeos") - cfntools_path = '%s/heat/%s/' % (possible_topdir, "cfntools") - jeos_path = os.path.join(possible_topdir, 'jeos') - cfntools_path = os.path.join(possible_topdir, 'cfntools') -else: - for p in sys.path: - jeos_path = os.path.join(p, 'heat', 'jeos') - cfntools_path = os.path.join(p, 'heat', 'cfntools') - if os.access(jeos_path, os.R_OK): - break scriptname = os.path.basename(sys.argv[0])