From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RGxmb-00069W-Nx for garchives@archives.gentoo.org; Thu, 20 Oct 2011 18:56:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E32B21C035; Thu, 20 Oct 2011 18:55:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CA6A221C022 for ; Thu, 20 Oct 2011 18:55:43 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 3CF601B4001 for ; Thu, 20 Oct 2011 18:55:43 +0000 (UTC) Received: by ywm19 with SMTP id 19so4047177ywm.40 for ; Thu, 20 Oct 2011 11:55:41 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.131.40 with SMTP id l28mr18192890yhi.6.1319136941155; Thu, 20 Oct 2011 11:55:41 -0700 (PDT) Received: by 10.236.95.48 with HTTP; Thu, 20 Oct 2011 11:55:41 -0700 (PDT) In-Reply-To: <2f204b2ec375bba6598f.1319135020@nut.cheops.ods.org> References: <4E9F4BCC.2030601@gentoo.org> <2f204b2ec375bba6598f.1319135020@nut.cheops.ods.org> Date: Thu, 20 Oct 2011 14:55:41 -0400 Message-ID: Subject: Re: [gentoo-portage-dev] [PATCH] repoman: update copyright on modified files From: Mike Gilbert To: gentoo-portage-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 61546500f7a705953c7f45f097f1e1ca On Thu, Oct 20, 2011 at 2:23 PM, Fabian Groffen wrote: > To retain the behaviour of echangelog, update the copyrights on modified > files (mostly ebuilds) when necessary. =C2=A0Also update the ChangeLog's > copyright. > > diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py > --- a/pym/repoman/utilities.py > +++ b/pym/repoman/utilities.py > @@ -548,6 +616,16 @@ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0logging.critical(e= rr) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return None > > + =C2=A0 =C2=A0 =C2=A0 year =3D time.strftime('%Y') > + =C2=A0 =C2=A0 =C2=A0 date =3D time.strftime('%d %b %Y') > + echangelog calls time.strftime('%d %b %Y', gmtime) so that UTC is always us= ed.