Some small changes

This commit is contained in:
enkore 2013-02-23 23:50:50 +01:00
parent 3677ffc852
commit c4db62d2a4
3 changed files with 2 additions and 6 deletions

View File

@ -35,7 +35,7 @@ as you like.
## Modules
### batterychecker
### battery
This class uses the /proc/acpi/battery interface to check for the

View File

@ -15,7 +15,6 @@ __all__ = [
"ConfigError", "ConfigKeyError", "ConfigMissingError", "ConfigAmbigiousClassesError", "ConfigInvalidModuleError",
"Module", "AsyncModule", "IntervalModule",
"i3pystatus", "I3statusHandler",
"get_path" # We need that for mkdocs
]
class ConfigError(Exception):
@ -42,9 +41,6 @@ class ConfigInvalidModuleError(ConfigError):
def format(self):
return "no class found"
def get_path():
return __path__
class KeyConstraintDict(collections.UserDict):
class MissingKeys(Exception):
def __init__(self, keys):

View File

@ -8,7 +8,7 @@ import json
from i3pystatus.mail import Backend
class NotmuchMailChecker(Backend):
class Notmuch(Backend):
"""
This class uses the notmuch python bindings to check for the
number of messages in the notmuch database with the tags "inbox"