[PATCH v2 05/11] NetTestController: Adding new exception
rpazdera at redhat.com
rpazdera at redhat.com
Mon Aug 13 10:01:46 UTC 2012
From: Radek Pazdera <rpazdera at redhat.com>
This commit adds new exception to NetTestController that will be used
to indicate errors in recipe execution.
Signed-off-by: Radek Pazdera <rpazdera at redhat.com>
---
NetTest/NetTestController.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/NetTest/NetTestController.py b/NetTest/NetTestController.py
index a997e37..1dcfc69 100644
--- a/NetTest/NetTestController.py
+++ b/NetTest/NetTestController.py
@@ -25,6 +25,9 @@ from NetTest.NetTestSlave import DefaultRPCPort
from NetTest.NetTestCommand import NetTestCommand, str_command
from Common.LoggingServer import LoggingServer
+class NetTestError(Exception):
+ pass
+
def ignore_event(**kwarg):
pass
--
1.7.7.6
More information about the LNST-developers
mailing list