projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c76ad0
)
No point in warning about needing re module; remove helpful message
author
Andrew M. Kuchling
<amk@amk.ca>
Tue, 17 Dec 2002 18:59:51 +0000
(18:59 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Tue, 17 Dec 2002 18:59:51 +0000
(18:59 +0000)
Lib/Cookie.py
patch
|
blob
|
history
diff --git
a/Lib/Cookie.py
b/Lib/Cookie.py
index 31d59afd2c0618b0a2e11675fcb15e1ae68c2ad2..6a45d9babd943d94ca1db19c4ab88d6083bb0fde 100644
(file)
--- 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"]