[git pull] Please pull powerpc.git merge branch

Konstantin Ryabitsev mricon at kernel.org
Wed Jun 12 00:31:55 EST 2013


On 10/06/13 12:20 AM, Jeremy Kerr wrote:
> Hi Linus,
> 
>> No. The date from the email was
>>
>>     Date: Fri, 7 Jun 2013 15:42:54 +1000
>>
>> and we want *that* date.
> 
> Ah, gotchya.
> 
> So, we now use the original date header (if present) in the mbox views:
> 
> $ wget -qO - http://patchwork.ozlabs.org/patch/249598/mbox/ | grep ^Date
> Date: Fri, 7 Jun 2013 15:42:54 +1000
> 
> ... for all your data-mining needs.

Looks like this functionality uses datetime.total_seconds(), which
doesn't exist on python < 2.7. Can this be changed to make it work with
python-2.6, so patchwork can be served on RHEL 6?

> 67181f5c (Jeremy Kerr       2013-06-10 11:37:25 +0800 193)     utc_timestamp = (patch.date -
> 67181f5c (Jeremy Kerr       2013-06-10 11:37:25 +0800 194)             datetime.datetime.utcfromtimestamp(0)).total_seconds()


Best,
-- 
Konstantin Ryabitsev
Senior Systems Administrator
Linux Foundation Collab Projects
Montréal, Québec

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 730 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20130611/540bf47c/attachment.sig>


More information about the Patchwork mailing list