Bug 54861

Summary: pot file header generated by pygettext is incorrect
Product: [Retired] Red Hat Linux Reporter: Christian Rose <menthos>
Component: python2Assignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: teg
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-31 13:49:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Rose 2001-10-21 21:45:22 UTC
The pygettext.py script generates incorrect pot file headers.

First of all, it does not add a POT-Creation-Date (which is very much
needed to determine how "fresh" a pot file is).

Second, the PO-Revision-Date is of the wrong format (it should be as in the
output of `date +"%Y-%m-%d %H:%M%z"').

Comment 1 Trond Eivind Glomsrxd 2001-10-26 16:06:32 UTC
The pygettext in python 2.2 is slightly different - I'll need to check if the
problem is still around.

Comment 2 Christian Rose 2002-06-08 23:08:55 UTC
This faulty pot file header problem seems to still be around (see the current
pot file for redhat-logviewer).

Comment 3 Mihai Ibanescu 2002-10-22 16:22:45 UTC
Patching pygettext is not exactly difficult, it would be nice if the upstream
python maintainers would accept the patch as well.

Comment 4 Mihai Ibanescu 2004-08-31 13:49:50 UTC
Seems to be fixed in python 2.3.4"

"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n"