view roundup/anypy/cookie_.py @ 4977:1417dbdb8dbf

Small improvement and fix of issue2550877 added to CHANGES.txt.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 12 Mar 2015 22:18:35 +0100
parents 74476eaac38a
children dfd0bcc947e5
line wrap: on
line source


try:
    from http import cookies as Cookie
    from http.cookies import CookieError, BaseCookie, SimpleCookie
    from http.cookies import _getdate as get_cookie_date
except:
    from Cookie import CookieError, BaseCookie, SimpleCookie
    from Cookie import _getdate as get_cookie_date

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