vardbapi.move_ent: rm wrong fixdbentries call
authorZac Medico <zmedico@gentoo.org>
Thu, 15 Nov 2012 00:02:38 +0000 (16:02 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 15 Nov 2012 00:02:38 +0000 (16:02 -0800)
The parent argument was wrong, as reported in bug #367215 comment #22,
and this call was uneeded anyway because dbapi.update_ents handles
it with update_dbentries.

pym/portage/dbapi/vartree.py

index 27e204e04066076e29d7a5f840c51d562e84615f..0a74f47c09642e1817e11ed000b658d3f329eef8 100644 (file)
@@ -22,7 +22,6 @@ portage.proxy.lazyimport.lazyimport(globals(),
                '_merge_unicode_error', '_spawn_phase',
        'portage.package.ebuild.prepare_build_dirs:prepare_build_dirs',
        'portage.package.ebuild._ipc.QueryCommand:QueryCommand',
-       'portage.update:fixdbentries',
        'portage.util:apply_secpass_permissions,ConfigProtect,ensure_dirs,' + \
                'writemsg,writemsg_level,write_atomic,atomic_ofstream,writedict,' + \
                'grabdict,normalize_path,new_protect_filename',
@@ -364,7 +363,7 @@ class vardbapi(dbapi):
                                        del e
                        write_atomic(os.path.join(newpath, "PF"), new_pf+"\n")
                        write_atomic(os.path.join(newpath, "CATEGORY"), mynewcat+"\n")
-                       fixdbentries([mylist], newpath, parent=mycpv)
+
                return moves
 
        def cp_list(self, mycp, use_cache=1):