[Rpm-metadata] createrepo/readMetadata.py
James Antill
james at osuosl.org
Thu Jan 7 05:11:21 UTC 2010
createrepo/readMetadata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c3b157d0ccc2a4c8971c64ec6f9fb4ea3a9c17c5
Author: Dennis Gregorovic <dgregor at redhat.com>
Date: Thu Jan 7 00:11:14 2010 -0500
Convert stat mtime to int so comparison can work, --update, BZ 553030
diff --git a/createrepo/readMetadata.py b/createrepo/readMetadata.py
index 285e54d..6a5055e 100644
--- a/createrepo/readMetadata.py
+++ b/createrepo/readMetadata.py
@@ -132,7 +132,7 @@ class MetadataIndex(object):
#ignore non files
return
#check size and mtime
- if st.st_size != size:
+ if int(st.st_size) != size:
if self.opts.get('verbose'):
print _("Size (%i -> %i) changed for file %s") % (size,st.st_size,filepath)
return
More information about the Rpm-metadata
mailing list