view roundup/anypy/cookie_.py @ 4407:f6a2bfd351ee

force tests checking text output to work in the "C" locale
author Richard Jones <richard@users.sourceforge.net>
date Mon, 09 Aug 2010 04:43:50 +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/