From: Dennis Gregorovic Date: Thu, 7 Jan 2010 05:11:14 +0000 (-0500) Subject: Convert stat mtime to int so comparison can work, --update, BZ 553030 X-Git-Tag: upstream/0.9.9~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3b157d0ccc2a4c8971c64ec6f9fb4ea3a9c17c5;p=tools%2Fcreaterepo.git 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