Patchwork D4050: linelog: fix import statements to pass the import checker on py3

login
register
mail settings
Submitter phabricator
Date Aug. 2, 2018, 4:25 a.m.
Message ID <cc88b556c39e911526521bfb3f7fa284@localhost.localdomain>
Download mbox | patch
Permalink /patch/33089/
State Not Applicable
Headers show

Comments

phabricator - Aug. 2, 2018, 4:25 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb9974f2ef9b1: linelog: fix import statements to pass the import checker on py3 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4050?vs=9773&id=9775

REVISION DETAIL
  https://phab.mercurial-scm.org/D4050

AFFECTED FILES
  mercurial/linelog.py

CHANGE DETAILS




To: durin42, #hg-reviewers, martinvonz
Cc: mercurial-devel

Patch

diff --git a/mercurial/linelog.py b/mercurial/linelog.py
--- a/mercurial/linelog.py
+++ b/mercurial/linelog.py
@@ -23,12 +23,12 @@ 
 import abc
 import struct
 
-from mercurial import (
-    pycompat,
-)
 from .thirdparty import (
     attr,
 )
+from . import (
+    pycompat,
+)
 
 _llentry = struct.Struct('>II')