'Send a notification that SickRage was updated
new_version: The commit SickRage was updated to'

def notify_git_update(self, new_version=u'??'):

    if sickbeard.USE_EMAIL:
        to = self._generate_recipients(None)
        if (not to):
            logger.log(u'Skipping    email    notify    because    there    are    no    configured    recipients', logger.DEBUG)
        else:
            try:
                msg = MIMEMultipart(u'alternative')
                msg.attach(MIMEText(u'<body    style="font-family:Helvetica,    Arial,    sans-serif;"><h3>SickRage    Notification    -    Updated</h3><br><p>Commit:    <b>{}</b></p><br><br><footer    style="margin-top:    2.5em;    padding:    .7em    0;    color:    #777;    border-top:    #BBB    solid    1px;">Powered    by    SickRage.</footer></body>'.format(new_version), u'html'))
            except Exception:
                try:
                    msg = MIMEText(new_version)
                except Exception:
                    msg = MIMEText(u'SickRage    updated')
            msg['Subject'] = u'Updated:    {0}'.format(new_version)
            msg['From'] = sickbeard.EMAIL_FROM
            msg['To'] = u','.join(to)
            msg['Date'] = formatdate(localtime=True)
            if self._sendmail(sickbeard.EMAIL_HOST, sickbeard.EMAIL_PORT, sickbeard.EMAIL_FROM, sickbeard.EMAIL_TLS, sickbeard.EMAIL_USER, sickbeard.EMAIL_PASSWORD, to, msg):
                logger.log(u'Update    notification    sent    to    [{0}]'.format(to), logger.DEBUG)
            else:
                logger.log(u'Update    notification    error:    {0}'.format(self.last_err), logger.WARNING)
