view roundup/anypy/cookie_.py @ 4645:dc2a8d256952

Fix warning.
author Stefan Seefeld <stefan@seefeld.name>
date Thu, 04 Nov 2010 17:49:34 +0000
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/