Example #1
0
 def _get_cups_cupc(self):
     sqlutils = AXLSQLUtils(self.__configname__)
     if not self.__attached__:
         raise exceptions.NotAttachedException('User is not attached')
     re = sqlutils.has_cups_cupc(self._uuid)
     if re is None:
         return None, None, None
     return re['enablecups'] == 't', re['enablecupc'] == 't', re['pkid']