--- createrepo/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/createrepo/__init__.py b/createrepo/__init__.py index 3f55700..d2e2039 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -1173,7 +1173,7 @@ class MetaDataGenerator: oldfile = os.path.join(output_old_dir, f) finalfile = os.path.join(output_final_dir, f) fn = '.'.join(f.split('.')[:-1]) - if fn in ('filelists.sqlite', 'other.sqlite.', + if fn in ('filelists.sqlite', 'other.sqlite', 'primary.sqlite') or oldfile in old_to_remove: try: os.remove(oldfile) -- 1.7.4.4 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel