From 6cd77126b423cc8113bce4f2fe35b07cf6521c46 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 17 Dec 2002 18:59:51 +0000 Subject: [PATCH] No point in warning about needing re module; remove helpful message --- Lib/Cookie.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/Cookie.py b/Lib/Cookie.py index 31d59afd2c..6a45d9babd 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"] -- 2.40.0