]> granicus.if.org Git - python/commitdiff
No point in warning about needing re module; remove helpful message
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 17 Dec 2002 18:59:51 +0000 (18:59 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 17 Dec 2002 18:59:51 +0000 (18:59 +0000)
Lib/Cookie.py

index 31d59afd2c0618b0a2e11675fcb15e1ae68c2ad2..6a45d9babd943d94ca1db19c4ab88d6083bb0fde 100644 (file)
@@ -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"]