This exception will be called from may repa modules. Let's put it in
common. Other common entities will go there too.
Change-Id: Ice0bc5abf5386a73dbb7b8457554688a2493f148
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5841
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
--- /dev/null
+#!/usr/bin/env python
+
+"""
+REPA: Release Engineering Process Assistant.
+
+Copyright (C) Intel Corporation 2013
+Licence: GPL version 2
+Author: Ed Bartosh <eduard.bartosh@intel.com>
+
+Common module.
+Common functions, classes, exceptions.
+"""
+
+class RepaException(Exception):
+ """Custom repa exception. All repa modules should use it."""
+ pass
+
from os.path import expanduser
from argparse import ArgumentParser
-class RepaException(Exception):
- """Custom repa exception. All repa modules should use it."""
- pass
+from repa.common import RepaException
def parse_args(argv):