[gn] Paper over Py3 urllib2 incompatibility in gn/get.py
authorReid Kleckner <rnk@google.com>
Wed, 22 Jan 2020 22:31:12 +0000 (14:31 -0800)
committerReid Kleckner <rnk@google.com>
Tue, 11 Feb 2020 19:39:16 +0000 (11:39 -0800)
commit2040831d0566221aa01640123451b7839fc45920
treea1aeb8401c82ddf00f988f81d7947227d227c009
parentf65f9d3bc5ab9444a9fcde17bca490bfc1f425b7
[gn] Paper over Py3 urllib2 incompatibility in gn/get.py

Tested with both Python 2.7 and Python 3.7.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D73234
llvm/utils/gn/get.py