summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/common/trex_types.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/common/trex_types.py')
-rw-r--r--scripts/automation/trex_control_plane/common/trex_types.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/common/trex_types.py b/scripts/automation/trex_control_plane/common/trex_types.py
index 5c29f59b..337f0a70 100644
--- a/scripts/automation/trex_control_plane/common/trex_types.py
+++ b/scripts/automation/trex_control_plane/common/trex_types.py
@@ -79,6 +79,7 @@ class RC():
def RC_OK(data = ""):
return RC(True, data)
+
def RC_ERR (err):
return RC(False, err)