[PATCH] check-config.py: use absolute_import and print_function

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


On Wed, 2 Mar 2016 04:14:44 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1456872167 -19800
> #      Wed Mar 02 04:12:47 2016 +0530
> # Node ID a0ae243e92e51839e96c21da19e77d6ff0d69db2
> # Parent  90d2a0ee68b0c280db54ac2af7c0446c336b3021
> check-config.py: Added absolute_import and print_function
> 
> diff -r 90d2a0ee68b0 -r a0ae243e92e5 contrib/check-config.py
> --- a/contrib/check-config.py    Wed Mar 02 04:05:04 2016 +0530
> +++ b/contrib/check-config.py    Wed Mar 02 04:12:47 2016 +0530
> @@ -7,6 +7,8 @@
>  # This software may be used and distributed according to the terms of the
>  # GNU General Public License version 2 or any later version.
> 
> +from __future__ import absolute_import
> +from __future__ import print_function

Same here. Please update the commit message and __future__ import line.


More information about the Mercurial-devel mailing list