createrepo/__init__.py
[email protected] (James Antill) Fri, 6 Dec 2013 18:14:53 +0000 (UTC)
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
createrepo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit d4e7c7eeae9bb5ffc425dfdb852529f59dced000 Author: James Antill <[email protected]> Date: Fri Dec 6 13:14:39 2013 -0500 Add missing int() on mtime that I could find. diff --git a/createrepo/__init__.py b/createrepo/__init__.py index 5ede16c..edb1f91 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -1061,7 +1061,7 @@ class MetaDataGenerator: data = RepoData() data.type = ftype data.checksum = (sumtype, csum) - data.timestamp = str(timestamp) + data.timestamp = str(int(timestamp)) data.size = str(os.stat(os.path.join(repopath, rpm_file)).st_size) data.opensize = str(unsize) data.openchecksum = (sumtype, uncsum)