Skip to content

Commit

Permalink
python3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
chidanandpujar committed Nov 29, 2023
1 parent c12a0fc commit 3bdc5b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ jobs:
- name: Run unit tests
run: |
echo $SHELL
nose2 -vvv tests.unit
2 changes: 2 additions & 0 deletions lib/jnpr/junos/utils/start_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def open(self):
:class:`paramiko.SSHClient` instance.
"""
if self.ON_JUNOS is True:
print("Debug1", self.ON_JUNOS)
self._chan = subprocess.Popen(
["cli", "start", "shell", self.shell_type],
shell=False,
Expand All @@ -122,6 +123,7 @@ def open(self):
bufsize=0,
)
else:
print("Debug2", self.ON_JUNOS)
self._client = open_ssh_client(dev=self._nc)
self._chan = self._client.invoke_shell()

Expand Down

0 comments on commit 3bdc5b5

Please sign in to comment.