Patchwork [2,of,9] contrib: allow symbol imports from hgclient for tests

login
register
mail settings
Submitter Augie Fackler
Date Aug. 24, 2017, 2:33 p.m.
Message ID <4954e118c22f530c2cc9.1503585203@imladris.local>
Download mbox | patch
Permalink /patch/23295/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 24, 2017, 2:33 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503426306 14400
#      Tue Aug 22 14:25:06 2017 -0400
# Node ID 4954e118c22f530c2cc91cb7900f003b5d920ddd
# Parent  ee1f4dd1c3a53cd08e5329b80ba5d93811ab5d1c
contrib: allow symbol imports from hgclient for tests

Patch

diff --git a/contrib/import-checker.py b/contrib/import-checker.py
--- a/contrib/import-checker.py
+++ b/contrib/import-checker.py
@@ -21,6 +21,7 @@  if True: # disable lexical sorting check
 # Whitelist of modules that symbols can be directly imported from.
 allowsymbolimports = (
     '__future__',
+    'hgclient',
     'mercurial',
     'mercurial.hgweb.common',
     'mercurial.hgweb.request',