Re: [PATCH] devel/release-checks: added checking of copyright year in documentation

Subject: Re: [PATCH] devel/release-checks: added checking of copyright year in documentation

Date: Wed, 05 Aug 2015 07:46:05 +0200

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> +copyrightline=`exec python -c "__file__ = 'command-line'
> +with open('doc/conf.py') as cf: exec(cf.read()); print(copyright)"`

That took me several tries to understand what is going on. Perhaps
that's because patch-review time co-incides with first coffee of the
day, but could you explain it in a comment or something, just in case
it's not only me who finds it confusing.

d

Thread: