Mercurial > hg > mercurial-source
diff mercurial/keepalive.py @ 30216:0c741fd6158a
py3: conditionalize httplib import
The httplib library is renamed to http.client in python 3. So the
import is conditionalized and a test is added in check-code to warn
to use util.httplib
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 28 Jun 2016 16:01:53 +0530 |
parents | 0d83ad967bf8 |
children | e61d384e3be4 |
line wrap: on
line diff