summary refs log blame commit diff stats
path: root/test/tc_keyapi.py
blob: d6c32271108b817de9759fbddc6ba0e1a7566555 (plain) (tree)
"nb">dir(options.colorscheme): var = getattr(options.colorscheme, var_name) if var != ColorScheme and isclass(var) \ and issubclass(var, ColorScheme): options.colorscheme = var() break else: raise Exception("The module contains no valid colorscheme!") else: raise Exception("Cannot locate colorscheme!") for setting in ALLOWED_SETTINGS: SettingsAware.settings[setting] = getattr(options, setting)