Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repoman: update copyright on modified files
Date: Thu, 20 Oct 2011 18:56:01
Message-Id: CAJ0EP41Za0wAwXEgNyXGN+dOOs2L8WuLSaZ3ZE8sJ4Qe23dMAw@mail.gmail.com
In Reply to: [gentoo-portage-dev] [PATCH] repoman: update copyright on modified files by Fabian Groffen
1 On Thu, Oct 20, 2011 at 2:23 PM, Fabian Groffen <grobian@g.o> wrote:
2 > To retain the behaviour of echangelog, update the copyrights on modified
3 > files (mostly ebuilds) when necessary.  Also update the ChangeLog's
4 > copyright.
5 >
6 > diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py
7 > --- a/pym/repoman/utilities.py
8 > +++ b/pym/repoman/utilities.py
9 > @@ -548,6 +616,16 @@
10 >                logging.critical(err)
11 >                return None
12 >
13 > +       year = time.strftime('%Y')
14 > +       date = time.strftime('%d %b %Y')
15 > +
16
17 echangelog calls time.strftime('%d %b %Y', gmtime) so that UTC is always used.

Replies