Patchwork [7,of,7] clonebundles: use absolute_import

login
register
mail settings
Submitter Gregory Szorc
Date Feb. 10, 2016, 1:52 a.m.
Message ID <952ec53dbe1cc77d5328.1455069162@7.1.168.192.in-addr.arpa>
Download mbox | patch
Permalink /patch/13086/
State Accepted
Delegated to: Martin von Zweigbergk
Headers show

Comments

Gregory Szorc - Feb. 10, 2016, 1:52 a.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1455069104 28800
#      Tue Feb 09 17:51:44 2016 -0800
# Node ID 952ec53dbe1cc77d5328e25aa82223576c04f19c
# Parent  769cf34b9926f66e136143dd50f50dca335fd43e
clonebundles: use absolute_import
Pierre-Yves David - Feb. 12, 2016, 3:51 p.m.
On 02/10/2016 01:52 AM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc@gmail.com>
> # Date 1455069104 28800
> #      Tue Feb 09 17:51:44 2016 -0800
> # Node ID 952ec53dbe1cc77d5328e25aa82223576c04f19c
> # Parent  769cf34b9926f66e136143dd50f50dca335fd43e
> clonebundles: use absolute_import

Series pushed to the clowcopter. Thanks

Patch

diff --git a/hgext/clonebundles.py b/hgext/clonebundles.py
--- a/hgext/clonebundles.py
+++ b/hgext/clonebundles.py
@@ -161,8 +161,10 @@  occurs. So server operators should prepa
 instructions when a failure occurs, thus driving more load to the original
 Mercurial server when the bundle hosting service fails.
 """
 
+from __future__ import absolute_import
+
 from mercurial import (
     extensions,
     wireproto,
 )
diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t
+++ b/tests/test-check-py3-compat.t
@@ -31,9 +31,8 @@ 
   doc/check-seclevel.py not using absolute_import
   doc/gendoc.py not using absolute_import
   doc/hgmanpage.py not using absolute_import
   hgext/__init__.py not using absolute_import
-  hgext/clonebundles.py not using absolute_import
   hgext/color.py not using absolute_import
   hgext/convert/__init__.py not using absolute_import
   hgext/convert/bzr.py not using absolute_import
   hgext/convert/common.py not using absolute_import