Mercurial > p > roundup > code
view roundup/anypy/cookie_.py @ 4838:6102252d3a8a
Do not throw an internal error if a .mo file can not be read
It is better to fall back to English (as already done in other situations)
than causing an internal server error.
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Wed, 02 Oct 2013 15:36:34 +0200 |
| 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
