From f3431c37f6e00ba7508da2b28a4b4062ec9354ed Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 19 May 2016 21:40:11 +0300 Subject: typo --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py') 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) -- cgit 1.2.3-korg