-
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.
Merge pull request #320 from nokia/release_v1.14.0
New release v1.14.0
- Loading branch information
Showing
6 changed files
with
13 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
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 |
---|---|---|
|
@@ -8,13 +8,13 @@ | |
import re | ||
|
||
__author__ = 'Marcin Usielski' | ||
__copyright__ = 'Copyright (C) 2019, Nokia' | ||
__copyright__ = 'Copyright (C) 2019-2020, Nokia' | ||
__email__ = '[email protected]' | ||
|
||
|
||
class RunCommand(GenericScpiState): | ||
|
||
def __init__(self, connection, command, error_regex=re.compile(r"ERROR", re.I), prompt=None, | ||
def __init__(self, connection, command, error_regex=re.compile(r"ERROR", re.IGNORECASE), prompt=None, | ||
newline_chars=None, runner=None): | ||
""" | ||
Class for command CONF for SCPI device. | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
""" | ||
|
||
__author__ = 'Marcin Usielski' | ||
__copyright__ = 'Copyright (C) 2018, Nokia' | ||
__copyright__ = 'Copyright (C) 2018-2020, Nokia' | ||
__email__ = '[email protected]' | ||
|
||
import re | ||
|
@@ -15,7 +15,8 @@ | |
|
||
class RunScript(GenericUnixCommand): | ||
|
||
def __init__(self, connection, script_command, error_regex=re.compile("error", re.I), prompt=None, newline_chars=None, runner=None): | ||
def __init__(self, connection, script_command, error_regex=re.compile("error", re.IGNORECASE), | ||
prompt=None, newline_chars=None, runner=None): | ||
""" | ||
:param connection: Moler connection to device, terminal when command is executed. | ||
:param script_command: path to script to run. | ||
|
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