[PATCH 1 of 3] py3: conditionalize httplib import

Pulkit Goyal 7895pulkit at gmail.com
Fri Jul 1 10:43:11 EDT 2016


> if sys.version_info[0] < 3:
>     import httplib
> else:
>     import http.client as httplib

Yeah we can have just one if else and fit all of them there. I will
send a patch related to this, if its okay.


More information about the Mercurial-devel mailing list