-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5a8574
commit d3d281d
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
__email__ = '[email protected], [email protected], [email protected]' | ||
|
||
import re | ||
import time | ||
import six | ||
import abc | ||
import platform | ||
|
@@ -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() | ||
|
@@ -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) | ||
|
@@ -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) | ||
|
||
|
@@ -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() | ||
|
@@ -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() | ||
|
@@ -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() | ||
|