projects
/
tools
/
createrepo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044f521
)
Convert stat mtime to int so comparison can work, --update, BZ 553030
author
Dennis Gregorovic
<dgregor@redhat.com>
Thu, 7 Jan 2010 05:11:14 +0000
(
00:11
-0500)
committer
James Antill
<james@and.org>
Thu, 7 Jan 2010 05:11:14 +0000
(
00:11
-0500)
createrepo/readMetadata.py
patch
|
blob
|
history
diff --git
a/createrepo/readMetadata.py
b/createrepo/readMetadata.py
index 285e54dd66c6459f15502ab5eadceca6d24b5c91..6a5055e62a9e007f2501b499555c5ba081197c07 100644
(file)
--- 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