phabricator: use new mercurial.util.urlparse reference

Summary:
Silence the test-check-code-hg test failure by using the new
mercurial.util.urlparse location (used to bridge Python 2 and 3).

Test Plan:
Ran all phabricator tests:

  $HG/tests/run-tests.py -l test-phab*

Reviewers: #mercurial, ttung, simonfar

Reviewed By: simonfar

Subscribers: simonfar, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D3503125

Signature: t1:3503125:1467283251:dd77c1dc7037d35c80c17ccf89d96c16168aa117
This commit is contained in:
Martijn Pieters 2016-06-30 11:41:45 +01:00
parent c98151ae46
commit 4ba66d8405

View File

@ -12,9 +12,10 @@ import os
import sys
import time
from mercurial import util
import urlparse
import arcconfig
urlparse = util.urlparse
DEFAULT_HOST = 'https://phabricator.fb.com/api/'
DEFAULT_TIMEOUT = 60
mocked_responses = None