This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; | |
static const char normbordercolor[] = "#444444"; | |
static const char normbgcolor[] = "#222222"; | |
static const char normfgcolor[] = "#bbbbbb"; | |
static const char selbordercolor[] = "#005577"; | |
static const char selbgcolor[] = "#005577"; | |
static const char selfgcolor[] = "#eeeeee"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from confit import BASESTRING, NotFoundError, PY3, TYPE_TYPES | |
DICT_ITEMS = dict.items if PY3 else dict.iteritems | |
class Value(object): | |
def __init__(self, check, default=None): | |
self.check, self.default = check, default |