commit e727d27ca39dff656db0703f160f56522e68ca3f
Author: Radek Pazdera <rpazdera(a)redhat.com>
Date: Mon Aug 13 12:01:46 2012 +0200
NetTestController: Adding new exception
This commit adds new exception to NetTestController that will be used
to indicate errors in recipe execution.
Signed-off-by: Radek Pazdera <rpazdera(a)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