view roundup/anypy/cookie_.py @ 5372:5e5f1dfb1596

Add python-sphinx. Looks like it's needed to build: xapian-bindings-1.3.7 but wasn't required before, or maybe was pulled in automatically bu the 1.2 debian package??
author John Rouillard <rouilj@ieee.org>
date Fri, 20 Jul 2018 20:51:20 -0400
parents dfd0bcc947e5
children 4cb860c33b37
line wrap: on
line source


try:
    # Python 3+
    from http import cookies as Cookie
    from http.cookies import CookieError, BaseCookie, SimpleCookie
    from http.cookies import _getdate as get_cookie_date
except:
    # Python 2.5-2.7
    from Cookie import CookieError, BaseCookie, SimpleCookie
    from Cookie import _getdate as get_cookie_date

Roundup Issue Tracker: http://roundup-tracker.org/