[PATCH 2 of 7 evolve-ext] check-code: make simple4server.py comply with check-code

Sean Farley sean at farley.io
Fri Dec 4 18:06:05 CST 2015


Laurent Charignon <lcharignon at fb.com> writes:

> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1449271176 28800
> #      Fri Dec 04 15:19:36 2015 -0800
> # Node ID 156d875e81626f3e713f5357e9d728af2b24283a
> # Parent  3e9bbaa0f27cf482966ee819a03b90bce022bae1
> check-code: make simple4server.py comply with check-code
>
> diff --git a/hgext/simple4server.py b/hgext/simple4server.py
> --- a/hgext/simple4server.py
> +++ b/hgext/simple4server.py
> @@ -34,7 +34,7 @@
>      gboptslist = getattr(wireproto, 'gboptslist', None)
>      gboptsmap = getattr(wireproto, 'gboptsmap', None)
>  except (ImportError, AttributeError):
> -    raise util.Abort('Your Mercurial is too old for this version of Evolve\n'
> +    raise error.Abort('Your Mercurial is too old for this version of Evolve\n'
>                       'requires version 3.0.1 or above')

Minor nit: the second line is no longer aligned with the one above it.


More information about the Mercurial-devel mailing list