From 26b7d9cb54e79dfe1935cb9f12bd8bca52f956f8 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 4 Nov 2012 10:36:55 +0100 Subject: [PATCH] [entropy.spm] PortagePlugin, xpaktools: drop append_xpak() --- docs/TODO | 1 - .../interfaces/portage_plugin/xpaktools.py | 20 ------------------- 2 files changed, 21 deletions(-) diff --git a/docs/TODO b/docs/TODO index 21e80cfa6..35550aa10 100644 --- a/docs/TODO +++ b/docs/TODO @@ -3,7 +3,6 @@ Backlog (raw) 1.0: - solo branch: - drop "append_xpak()" in xpaktools equo unused -> add to "equo query unused" move etpConst['install_sources'] to entropy.db test unicode with solo conf update (and others) diff --git a/lib/entropy/spm/plugins/interfaces/portage_plugin/xpaktools.py b/lib/entropy/spm/plugins/interfaces/portage_plugin/xpaktools.py index 0b458dbe6..f1633d9aa 100644 --- a/lib/entropy/spm/plugins/interfaces/portage_plugin/xpaktools.py +++ b/lib/entropy/spm/plugins/interfaces/portage_plugin/xpaktools.py @@ -174,26 +174,6 @@ def suck_xpak(tbz2file, xpakpath): db.flush() db.close() -def append_xpak(tbz2file, atom): - """ - docstring_title - - @param tbz2file: - @type tbz2file: - @param atom: - @type atom: - @return: - @rtype: - """ - text = TextInterface() - spm = get_default_instance(text) - dbbuild = spm.get_installed_package_build_script_path(atom) - dbdir = os.path.dirname(dbbuild) - if os.path.isdir(dbdir): - tbz2 = xpak.tbz2(tbz2file) - tbz2.recompose(dbdir) - return tbz2file - def aggregate_xpak(tbz2file, xpakfile): """ Aggregate xpakfile content to tbz2file