view roundup/anypy/cookie_.py @ 4429:d75e92fbfcca

- lower memory footprint for (journal-) import .-- only for rdbms backends, other backends shouldn't have that much data anyway.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Thu, 07 Oct 2010 12:02:12 +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/