if len(ctl_paths) > 0:
ctlenv = os.environ
+
+ if "/usr/local/bin" not in ctlenv['PATH'].split(':'):
+ ctlenv['PATH'] = "%s:/usr/local/bin" % ctlenv['PATH']
+
if aces_ctl_directory is not None:
if os.path.split(aces_ctl_directory)[1] != 'utilities':
ctl_module_path = os.path.join(aces_ctl_directory, 'utilities')
log_handle.write(header)\r
if format == 'xml':\r
log_handle.write(']]>\n')\r
- self.write_log(log_handle)\r
+ self.write_log(log_handle, format=format)\r
log_handle.close()\r
\r
def log_line(self, line):\r