[PATCH 2 of 2] templater: fix get English

Augie Fackler raf at durin42.com
Wed Sep 9 09:47:23 CDT 2015


On Tue, Sep 08, 2015 at 12:54:05PM -0500, timeless at mozdev.org wrote:
> # HG changeset patch
> # User timeless at mozdev.org
> # Date 1440971455 14400
> #      Sun Aug 30 17:50:55 2015 -0400
> # Node ID b13c52c93cbb6a035933c5b22826797488bf29db
> # Parent  3f589cd796db27031c9f10068f758ddacd18c524
> templater: fix get English

queued, thanks

>
> diff --git a/mercurial/templater.py b/mercurial/templater.py
> --- a/mercurial/templater.py
> +++ b/mercurial/templater.py
> @@ -427,7 +427,7 @@
>  def get(context, mapping, args):
>      """:get(dict, key): Get an attribute/key from an object. Some keywords
>      are complex types. This function allows you to obtain the value of an
> -    attribute on these type."""
> +    attribute on these types."""
>      if len(args) != 2:
>          # i18n: "get" is a keyword
>          raise error.ParseError(_("get() expects two arguments"))
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list