From c1e9e1658cd1f37e250bb633834104a1675f62f2 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Feb 11 2014 12:18:39 +0000 Subject: Add missing parentheses. --- diff --git a/authinfo.py b/authinfo.py index cf5d588..e568b21 100644 --- a/authinfo.py +++ b/authinfo.py @@ -4347,9 +4347,9 @@ class AuthInfo: def toggleSSSDService(self, nostart): - explicitenable = (self.enableSSSD and self.enableSSSDAuth) or + explicitenable = ((self.enableSSSD and self.enableSSSDAuth) or (self.enableSSSD and os.path.exists(PATH_SSSD_CONFIG)) or - (self.enableSSSDAuth and os.path.exists(PATH_SSSD_CONFIG)) + (self.enableSSSDAuth and os.path.exists(PATH_SSSD_CONFIG))) toggleSplatbindService(self.implicitSSSD or self.implicitSSSDAuth or self.enableIPAv2 or explicitenable, PATH_SSSD,