예제 #1
0
파일: core.py 프로젝트: marcosmolla/indico
 def group(self):
     """The underlying :class:`~flask_multipass.Group`"""
     try:
         return multipass.get_group(self.provider, self.name)
     except MultipassException as e:
         warn('Could not retrieve group {}:{}: {}'.format(self.provider, self.name, e))
         return None
예제 #2
0
 def group(self):
     """The underlying :class:`~flask_multipass.Group`."""
     try:
         return multipass.get_group(self.provider, self.name)
     except MultipassException as e:
         warn(f'Could not retrieve group {self.provider}:{self.name}: {e}')
         return None
예제 #3
0
 def group(self):
     """The underlying :class:`~flask_multipass.Group`"""
     try:
         return multipass.get_group(self.provider, self.name)
     except MultipassException as e:
         warn('Could not retrieve group {}:{}: {}'.format(self.provider, self.name, e))
         return None