[PATCH] fixpax.py: use absolute_import and print_function

Yuya Nishihara yuya at tcha.org
Wed Mar 2 09:15:53 EST 2016


On Wed, 2 Mar 2016 04:31:11 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1456873151 -19800
> #      Wed Mar 02 04:29:11 2016 +0530
> # Node ID 4ab7f6108799840638228502a4fa57ff59167ce2
> # Parent  61bf5a16be1407364fea2481715a3690f211e850
> fixpax.py: Added absolute_import and print_function
> 
> diff -r 61bf5a16be14 -r 4ab7f6108799 contrib/fixpax.py
> --- a/contrib/fixpax.py    Wed Mar 02 04:22:46 2016 +0530
> +++ b/contrib/fixpax.py    Wed Mar 02 04:29:11 2016 +0530
> @@ -11,7 +11,11 @@
>  *.mpkg/Contents/Packages/*.pkg/Contents/Archive.pax.gz
>  """
> 
> -import sys, os, gzip
> +from __future__ import absolute_import
> +from __future__ import print_function
> +import sys
> +import os
> +import gzip

And same here. I think these patches can be sent as a series. If you choose
the patchbomb, please flag new patches as --flag V2.


More information about the Mercurial-devel mailing list