VirtualMailManager/serviceset.py
branchv0.7.x
changeset 696 45f76850c7e9
parent 694 b1bfd4d1d9c0
child 711 2a75058fc064
equal deleted inserted replaced
695:42addf4f2434 696:45f76850c7e9
     8     Virtual Mail Manager's ServiceSet class for simplified database access
     8     Virtual Mail Manager's ServiceSet class for simplified database access
     9     to the service_set table.
     9     to the service_set table.
    10 """
    10 """
    11 
    11 
    12 SERVICES = ('smtp', 'pop3', 'imap', 'sieve')
    12 SERVICES = ('smtp', 'pop3', 'imap', 'sieve')
    13 
       
    14 cfg_dget = lambda option: None
       
    15 
    13 
    16 
    14 
    17 class ServiceSet(object):
    15 class ServiceSet(object):
    18     """A wrapper class that provides access to the service_set table.
    16     """A wrapper class that provides access to the service_set table.
    19 
    17 
   148     @property
   146     @property
   149     def services(self):
   147     def services(self):
   150         """A dictionary: Keys: `smtp`, `pop3`, `imap` and `sieve` with
   148         """A dictionary: Keys: `smtp`, `pop3`, `imap` and `sieve` with
   151         boolean values."""
   149         boolean values."""
   152         return self._services.copy()
   150         return self._services.copy()
   153 
       
   154 del cfg_dget