Skip to content

Commit

Permalink
Remove unnecessary script logging in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rageshkrishna committed Feb 9, 2017
1 parent 7c0821b commit c8fa9fa
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added dist/main/_json.so
Binary file not shown.
Binary file removed dist/main/_json.x86_64-linux-gnu.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dist/main/libcrypto.so.1.0.0
Binary file not shown.
Binary file modified dist/main/libffi.so.6
Binary file not shown.
Binary file modified dist/main/libpython2.7.so.1.0
Binary file not shown.
Binary file modified dist/main/libssl.so.1.0.0
Binary file not shown.
Binary file modified dist/main/main
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions script_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ def __write_to_file(self, script):
script_stat = os.stat(self.script_name)
os.chmod(self.script_name, script_stat.st_mode | stat.S_IEXEC)

self.log.debug('Executing file')
with open(self.script_name) as script_file:
self.log.debug(script_file.read())

def _run_command(self, cmd, working_dir):
self.log.debug('Executing streaming command: {0}\nDir: {1}'.format(
cmd, working_dir))
Expand Down

0 comments on commit c8fa9fa

Please sign in to comment.