No point in warning about needing re module; remove helpful message

This commit is contained in:
Andrew M. Kuchling 2002-12-17 18:59:51 +00:00
parent 3c76ad0f8d
commit 6cd77126b4
1 changed files with 1 additions and 4 deletions

View 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"]