def _announce_deprecations(self):
    warnings = []
    if self.want:
        warnings += self.want._values.get('__warnings', [])
    if self.have:
        warnings += self.have._values.get('__warnings', [])
    for warning in warnings:
        self.module.deprecate(msg=warning['msg'], version=warning['version'])
def _announce_deprecations(self):
    warnings = []
    if self.want:
        warnings += self.want._values.get('__warnings', [])
    if self.have:
        warnings += self.have._values.get('__warnings', [])
    for warning in warnings:
        self.module.deprecate(msg=warning['msg'], version=warning['version'])