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:
7e1db81
)
make sure non-unique-md-filenanmes-repos cleanup sqlite files
author
Seth Vidal
<skvidal@fedoraproject.org>
Tue, 29 Jan 2008 02:50:58 +0000
(21:50 -0500)
committer
Seth Vidal
<skvidal@fedoraproject.org>
Tue, 29 Jan 2008 02:50:58 +0000
(21:50 -0500)
if we switch to unique-md-filenames
createrepo/__init__.py
patch
|
blob
|
history
diff --git
a/createrepo/__init__.py
b/createrepo/__init__.py
index 34cbeb98dded2ffd238e9c01f2eca0ce48f0a1b6..7a851da1035bb81425adbd2d6c0840d6f419ed77 100644
(file)
--- a/
createrepo/__init__.py
+++ b/
createrepo/__init__.py
@@
-666,7
+666,10
@@
class MetaDataGenerator:
'other.xml.gz','filelists.xml.gz'):
os.remove(oldfile) # kill off the old ones
continue
-
+ if f in ('filelists.sqlite.bz2', 'other.sqlite.bz2', 'primary.sqlite.bz2'):
+ os.remove(oldfile)
+ continue
+
if os.path.exists(finalfile):
# Hmph? Just leave it alone, then.
try: