Skip to content

Commit

Permalink
Fix for issue #995
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Jan 3, 2022
1 parent e4dea56 commit d7340e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jnpr/junos/utils/start_shell.py
Expand Up @@ -25,7 +25,7 @@ def _ssh_exec(self, command):
"""

def __init__(self, nc, timeout=30, shell_type='csh'):
def __init__(self, nc, timeout=30, shell_type="csh"):
"""
Utility Constructor
Expand Down Expand Up @@ -97,7 +97,7 @@ def send(self, data):
data += " && echo ']]>]]>' \n"
self._chan.stdin.write(data)
self.t = Thread(target=self.write_stdin, args=(self._chan.stdin, data))
self.t.daemon = True # thread dies with the program
self.t.daemon = True # thread dies with the program
self.t.start()
return
else:
Expand Down

0 comments on commit d7340e8

Please sign in to comment.