createrepo/__init__.py
[email protected] Tue, 10 Jul 2012 13:31:54 +0000 (UTC)
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
--===============1123767465636033300== Content-Type: text/plain createrepo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit ac00b02dfd119e95e1070e27552f039653140d1e Author: Zdeněk Pavlas <[email protected]> Date: Mon Jul 9 17:23:30 2012 +0200 Fix a typo in doFinalMove(), do not keep other.sqlite.bz2. BZ 836917 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) --===============1123767465636033300== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Rpm-metadata mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/rpm-metadata --===============1123767465636033300==--