From 8771fbcf584d1d5f6eaa8aad9dc9978e94176dfc Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Tue, 1 Jul 2014 11:12:37 +0200 Subject: Document class variables --- whatmaps/distro.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'whatmaps') diff --git a/whatmaps/distro.py b/whatmaps/distro.py index b2e2c82..a575a70 100644 --- a/whatmaps/distro.py +++ b/whatmaps/distro.py @@ -28,7 +28,15 @@ except ImportError: class Distro(object): """ A distribution + @cvar id: distro id as returned by lsb-release + + @cvar service_blacklist: services that should never be restarted + @cvar _pkg_services: A C{dict} that maps packages to services. In + case we find binaries that match a key in this hash restart + the services listed in values. + @cvar _pkg_service_blacklist: if we find binaries in the package + listed as key don't restart services listed in values """ id = None service_blacklist = set() -- cgit v1.2.3