Patchwork [09,of,10] demandimportpy3: update to pass import checker

login
register
mail settings
Submitter Augie Fackler
Date Aug. 23, 2017, 2:55 p.m.
Message ID <7838b4d1f12e80bf99cd.1503500108@imladris.local>
Download mbox | patch
Permalink /patch/23238/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 23, 2017, 2:55 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503425674 14400
#      Tue Aug 22 14:14:34 2017 -0400
# Node ID 7838b4d1f12e80bf99cd931c9077b7d4415f8c4f
# Parent  5d6c18ca9740c5d3ded1823a15956f90ad4efaa8
demandimportpy3: update to pass import checker

Patch

diff --git a/hgdemandimport/demandimportpy3.py b/hgdemandimport/demandimportpy3.py
--- a/hgdemandimport/demandimportpy3.py
+++ b/hgdemandimport/demandimportpy3.py
@@ -27,11 +27,10 @@  This also has some limitations compared 
 from __future__ import absolute_import
 
 import contextlib
-import sys
-
 import importlib.abc
 import importlib.machinery
 import importlib.util
+import sys
 
 _deactivated = False