Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Nov 8, 2024
1 parent a5a8574 commit d3d281d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions moler/device/proxy_pc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
__email__ = '[email protected], [email protected], [email protected]'

import re
import time
import six
import abc
import platform
Expand Down Expand Up @@ -175,7 +174,7 @@ def _get_default_sm_configuration_without_proxy_pc(self):
def _prepare_transitions(self):
"""
Prepare transitions to change states.
:return: Nothing.
:return: None.
"""
if self._use_local_unix_state:
super(ProxyPc2, self)._prepare_transitions()
Expand Down Expand Up @@ -239,7 +238,7 @@ def on_connection_made(self, connection):
"""
Execute action when connection made.
:param connection: device connection.
:return: Nothing.
:return: None.
"""
if self._use_local_unix_state:
super(ProxyPc2, self).on_connection_made(connection)
Expand All @@ -253,7 +252,7 @@ def on_connection_lost(self, connection):
"""
Execute action when connection lost.
:param connection: device connection.
:return: Nothing.
:return: None.
"""
self._set_state(NOT_CONNECTED)

Expand Down Expand Up @@ -297,7 +296,7 @@ def _set_after_open_prompt(self, event):
def _prepare_state_prompts(self):
"""
Prepare textual prompt for each state.
:return: Nothing.
:return: None.
"""
if self._use_local_unix_state:
super(ProxyPc2, self)._prepare_state_prompts()
Expand Down Expand Up @@ -336,7 +335,7 @@ def _prepare_state_prompts_without_proxy_pc(self):
def _prepare_newline_chars(self):
"""
Prepare newline char for each state.
:return: Nothing.
:return: None.
"""
if self._use_local_unix_state:
super(ProxyPc2, self)._prepare_newline_chars()
Expand Down Expand Up @@ -374,7 +373,7 @@ def _prepare_newline_chars_without_proxy_pc(self):
def _prepare_state_hops(self):
"""
Prepare hops for non direct transitions between states.
:return: Nothing.
:return: None.
"""
if self._use_local_unix_state:
super(ProxyPc2, self)._prepare_state_hops()
Expand Down

0 comments on commit d3d281d

Please sign in to comment.