Patchwork [6,of,9] contrib: add bzrlib to list of packages from which we import symbols

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

Comments

Augie Fackler - Aug. 24, 2017, 2:33 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503430134 14400
#      Tue Aug 22 15:28:54 2017 -0400
# Node ID 3973af0b0ae185ab05b0ddd54867bbc23df6b701
# Parent  a2b9f131501a0c1dbb83ce425faa4acd50d5f8f8
contrib: add bzrlib to list of packages from which we import symbols

Helps some tests pass the import checker.

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__',
+    'bzrlib',
     'hgclient',
     'mercurial',
     'mercurial.hgweb.common',