def report_issue(self, message, *args, **kw):
        """Handle a problem by raising an exception or logging a warning (depending on :attr:`strict`)."""
        if self.strict:
            raise ValueError(format(message, *args, **kw))
        else:
            logger.warning(format(message, *args, **kw))
def report_issue ( self , message , * args , ** kw ) : if self . strict : raise ValueError ( format ( message , * args , ** kw ) ) else : logger . warning ( format ( message , * args , ** kw ) )
Handle a problem by raising an exception or logging a warning (depending on :attr:`strict`).