branch | v0.7.x |
changeset 638 | 0de0b9e75c9f |
parent 594 | cdbe200c0ecc |
child 643 | df1e3b67882a |
--- a/VirtualMailManager/serviceset.py Sun Nov 04 18:33:11 2012 +0000 +++ b/VirtualMailManager/serviceset.py Mon Nov 05 21:57:37 2012 +0000 @@ -131,10 +131,7 @@ self._ssid = result[0] #self._services.update(zip(SERVICES, result[1:])) for key, value in zip(SERVICES, result[1:]): # pyPgSQL compatible - if value: - self._services[key] = True - else: - self._services[key] = False + self._services[key] = True if value else False def _save(self): """Store a new service_set in the database."""