commit | 5e95e763e1ba51b9bd4153aa016099e183b05434 | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Mon Mar 30 21:51:50 2009 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Mon Mar 30 21:51:50 2009 +0000 |
tree | 7014625e7ad52f519804a78ee29588ab04711981 | |
parent | e7c9e092b3d339718b0794f6a593a5032b6b9fb5 [diff] [blame] |
Fix for bugs: Issue4675 and Issue4962.
diff --git a/Lib/urllib.py b/Lib/urllib.py index 0594dc8..1ac997e 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py
@@ -1073,7 +1073,7 @@ global _passwdprog if _passwdprog is None: import re - _passwdprog = re.compile('^([^:]*):(.*)$') + _passwdprog = re.compile('^([^:]*):(.*)$',re.S) match = _passwdprog.match(user) if match: return match.group(1, 2)