'Check if the current version of the library is outdated.'

def _check_update_(self):

    try:
        data = requests.get(u'https://pypi.python.org/pypi/jira/json', timeout=2.001).json()
        released_version = data[u'info'][u'version']
        if (parse_version(released_version) > parse_version(__version__)):
            warnings.warn((u'You    are    running    an    outdated    version    of    JIRA    Python    %s.    Current    version    is    %s.    Do    not    file    any    bugs    against    older    versions.' % (__version__, released_version)))
    except requests.RequestException:
        pass
    except Exception as e:
        logging.warning(e)
