diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-12-17 18:59:51 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-12-17 18:59:51 (GMT) |
commit | 6cd77126b423cc8113bce4f2fe35b07cf6521c46 (patch) | |
tree | f2332ceaa45d1f3beab1fb8a475e0ef8be209ba7 /Lib/Cookie.py | |
parent | 3c76ad0f8dbe56fecc423068a9c1e023ea517590 (diff) | |
download | cpython-6cd77126b423cc8113bce4f2fe35b07cf6521c46.zip cpython-6cd77126b423cc8113bce4f2fe35b07cf6521c46.tar.gz cpython-6cd77126b423cc8113bce4f2fe35b07cf6521c46.tar.bz2 |
No point in warning about needing re module; remove helpful message
Diffstat (limited to 'Lib/Cookie.py')
-rw-r--r-- | Lib/Cookie.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py index 31d59af..6a45d9b 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"] |