Mercurial > hg
changeset 31942:bc0579a25f82
pycompat: import correct cookie module on Python 3
http.cookielib doesn't exist. http.cookiejar does and it contains the
symbols we need. This fixes test failures on Python 3.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 12 Apr 2017 18:42:20 -0700 |
parents | ac5527021097 |
children | 3e9f118cc834 |
files | mercurial/pycompat.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/pycompat.py Wed Apr 12 16:50:23 2017 -0700 +++ b/mercurial/pycompat.py Wed Apr 12 18:42:20 2017 -0700 @@ -25,7 +25,7 @@ import SocketServer as socketserver import xmlrpclib else: - import http.cookielib as cookielib + import http.cookiejar as cookielib import http.client as httplib import pickle import queue as _queue