From: Andrew M. Kuchling Date: Tue, 17 Dec 2002 18:59:51 +0000 (+0000) Subject: No point in warning about needing re module; remove helpful message X-Git-Tag: v2.3c1~2978 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cd77126b423cc8113bce4f2fe35b07cf6521c46;p=thirdparty%2FPython%2Fcpython.git No point in warning about needing re module; remove helpful message --- diff --git a/Lib/Cookie.py b/Lib/Cookie.py index 31d59afd2c06..6a45d9babd94 100644 --- a/Lib/Cookie.py +++ b/Lib/Cookie.py @@ -222,10 +222,7 @@ try: except ImportError: from pickle import dumps, loads -try: - import re -except ImportError: - raise ImportError, "Cookie.py requires 're' from Python 1.5 or later" +import re __all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie", "SmartCookie","Cookie"]