[PATCH 3/5] models: strip result of _format_name
Stephen Finucane
stephen at that.guru
Wed Jul 12 18:54:53 AEST 2017
On Tue, 2017-07-11 at 11:41 -0700, Sean Farley wrote:
> It doesn't seem we would want names of a patch or series to start or end with
> a space, so let's strip that off.
>
> Signed-off-by: Sean Farley <sean at farley.io>
We actually do this already as part of the parser code [1]. However, it's no
harm to have this here so I've included this with the previous patch.
Reviewed-by: Stephen Finucane <stephen at that.guru>
[1] https://github.com/getpatchwork/patchwork/blob/18a2b98a/patchwork/parser.py
#L647
More information about the Patchwork
mailing list