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:
c3b157d
)
Fixed, convert stat mtime to int so comparison can work, --update, BZ 553030
author
Dennis Gregorovic
<dgregor@redhat.com>
Thu, 7 Jan 2010 16:50:37 +0000
(11:50 -0500)
committer
James Antill
<james@and.org>
Thu, 7 Jan 2010 16:50:37 +0000
(11:50 -0500)
createrepo/readMetadata.py
patch
|
blob
|
history
diff --git
a/createrepo/readMetadata.py
b/createrepo/readMetadata.py
index 6a5055e62a9e007f2501b499555c5ba081197c07..6711d30eccd228aef19a7a881fd3af234626079c 100644
(file)
--- a/
createrepo/readMetadata.py
+++ b/
createrepo/readMetadata.py
@@
-132,11
+132,11
@@
class MetadataIndex(object):
#ignore non files
return
#check size and mtime
- if
int(st.st_size)
!= size:
+ if
st.st_size
!= size:
if self.opts.get('verbose'):
print _("Size (%i -> %i) changed for file %s") % (size,st.st_size,filepath)
return
- if
st.st_mtime
!= mtime:
+ if
int(st.st_mtime)
!= mtime:
if self.opts.get('verbose'):
print _("Modification time changed for %s") % filepath
return