Revert "Check for existence of path first"
Didn't mean to push this to master (yet).
This reverts commit 5b0222143c
.
This commit is contained in:
parent
5b0222143c
commit
89bcb47aba
@ -89,11 +89,8 @@ class ElementManager(object):
|
||||
pass
|
||||
os.symlink(self.tmp_hook_dir, '/tmp/in_target.d')
|
||||
os.environ['TMP_HOOKS_PATH'] = self.tmp_hook_dir
|
||||
if os.environ.has_key('PATH'):
|
||||
os.environ['PATH'] = '%s:%s/bin' % (os.environ['PATH'],
|
||||
self.tmp_hook_dir)
|
||||
else:
|
||||
os.environ['PATH'] = '%s/bin' % self.tmp_hook_dir
|
||||
|
||||
def process_path(self, path):
|
||||
"""Load elements from a given filesystem path.
|
||||
|
Loading…
Reference in New Issue
Block a user