summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-05-19 21:40:11 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-05-19 21:40:11 +0300
commitf3431c37f6e00ba7508da2b28a4b4062ec9354ed (patch)
tree80093c06924e00b0b50026d57bb8ed5845c6d59b /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
parent4f647e52c37595845055f971eff77d757f246a2b (diff)
typo
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
index 85215f3d..aa6c4218 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
@@ -150,7 +150,7 @@ def listify (x):
class StatNotAvailable(str):
def __new__(cls, value, *args, **kwargs):
cls.stat_name = value
- return super(X, cls).__new__(cls, 'N/A')
+ return super(StatNotAvailable, cls).__new__(cls, 'N/A')
def __cmp__(self, *args, **kwargs):
raise Exception("Stat '%s' not available at this setup" % self.stat_name)