-
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.
New dafaults: RunnerForSingleThread and MolerConnectionForSingleThread (
#429) * New dafaults: RunnerForSingleThread and MolerConnectionForSingleThreadRunner * Switch to version 2.0.0 * more logs when device is created * pep8
- Loading branch information
1 parent
fd7bfe8
commit cd73e2d
Showing
6 changed files
with
25 additions
and
14 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
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
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
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
- be the state machine that controls which commands may run in given state | ||
""" | ||
__author__ = 'Grzegorz Latuszek, Marcin Usielski, Michal Ernst' | ||
__copyright__ = 'Copyright (C) 2018-2021, Nokia' | ||
__copyright__ = 'Copyright (C) 2018-2022, Nokia' | ||
__email__ = '[email protected], [email protected], [email protected]' | ||
|
||
import abc | ||
|
@@ -185,12 +185,16 @@ def establish_connection(self): | |
with self._state_prompts_lock: | ||
self._run_prompts_observers() | ||
|
||
msg = "Established connection to device '{}' (as instance of class '{}.{}') with prompts: '{}'.".format( | ||
self.name, | ||
self.__class__.__module__, | ||
self.__class__.__name__, | ||
self._state_prompts | ||
) | ||
msg = "Established connection to device '{}' (as instance of class '{}.{}', io_connection: '{}.{}', " \ | ||
"moler_connection: '{}.{}') with prompts: '{}'.".format(self.name, | ||
self.__class__.__module__, | ||
self.__class__.__name__, | ||
self.io_connection.__class__.__module__, | ||
self.io_connection.__class__.__name__, | ||
self.io_connection.moler_connection.__class__.__module__, | ||
self.io_connection.moler_connection.__class__.__name__, | ||
self._state_prompts | ||
) | ||
self._established = True | ||
self._log(level=logging.INFO, msg=msg) | ||
|
||
|
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