summaryrefslogtreecommitdiff
path: root/src/leap/mx/exceptions.py
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@leap.se>2013-04-24 16:47:07 -0300
committerTomas Touceda <chiiph@leap.se>2013-05-07 14:01:10 -0300
commitb1c2e24fb08f69a10a4d91a84ec0e31d91991190 (patch)
treeef5f2127f85b737fe035b190f6b0a7db83d7c142 /src/leap/mx/exceptions.py
parentb322a390af83addcf9768ae59d31c31a3229b49d (diff)
Improve the rest and start everything from start_mx
Diffstat (limited to 'src/leap/mx/exceptions.py')
-rw-r--r--src/leap/mx/exceptions.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/leap/mx/exceptions.py b/src/leap/mx/exceptions.py
deleted file mode 100644
index 63b946c..0000000
--- a/src/leap/mx/exceptions.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#! -*- encoding: utf-8 -*-
-"""
-Custom exceptions for leap_mx.
-
-@authors: Isis Lovecruft, <isis@leap.se> 0x2cdb8b35
-@version: 0.0.1
-@license: see included LICENSE file
-"""
-
-
-class MissingConfig(Exception):
- """Raised when the config file cannot be found."""
- def __init__(self, message=None, config_file=None):
- if message:
- return
- else:
- self.message = "Cannot locate config file"
- if config_file:
- self.message += " %s" % config_file
- self.message += "."
-
-class UnsupportedOS(Exception):
- """Raised when we're not *nix or *BSD."""