diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-08-17 23:06:22 +0100 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-08-17 23:06:22 +0100 |
commit | eec554ef698fe148fcd46cd55da59b50557fce7b (patch) | |
tree | 97cfbac92131ef9cec7c4a75b8b7b72f63124fc0 | |
parent | 41c0dfe5f8e6cb57bd82cc9229238911da4e1bb4 (diff) |
Added missing ArgumentError class.
-rwxr-xr-x | archey3 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -129,6 +129,11 @@ COLORS = { 'white': '7' } +class ArgumentError(Exception): + def __init__(self, caller, message): + msg = "{0}: {1}".format(caller.__class__.__name__, message) + super().__init__(msg) + # State must be serializable State = collections.namedtuple("State", "color config logger") |