[Kimchi-devel] [PATCH] pep8 cleanup for exception.py
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Dec 27 19:53:24 UTC 2013
From: Aline Manera <alinefm at br.ibm.com>
This patch cleans up pep8 style issue in exception.py
Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
Makefile.am | 1 +
src/kimchi/exception.py | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 0fd92c8..3b8e494 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,7 @@ PEP8_WHITELIST = \
src/kimchi/cachebust.py \
src/kimchi/config.py.in \
src/kimchi/disks.py \
+ src/kimchi/exception.py \
src/kimchi/root.py \
src/kimchi/server.py \
plugins/__init__.py \
diff --git a/src/kimchi/exception.py b/src/kimchi/exception.py
index d7a2835..df9619f 100644
--- a/src/kimchi/exception.py
+++ b/src/kimchi/exception.py
@@ -18,19 +18,24 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
class NotFoundError(Exception):
pass
+
class OperationFailed(Exception):
pass
+
class MissingParameter(Exception):
pass
+
class InvalidParameter(Exception):
pass
+
class InvalidOperation(Exception):
pass
--
1.7.10.4
More information about the Kimchi-devel
mailing list