[Piuparts-commits] [piuparts] 03/05: lib/db: drop the now obsolete public compute_package_states()
Holger Levsen
holger at alioth.debian.org
Wed Oct 23 10:41:39 UTC 2013
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit e8fe2fc370402cba54016087151243365fb3711f
Author: Andreas Beckmann <anbe at debian.org>
Date: Wed Oct 23 02:50:56 2013 +0200
lib/db: drop the now obsolete public compute_package_states()
the on-demand rrdep computation made the explicit calls superfluous
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
master-bin/detect_well_known_errors.py | 2 --
piuparts-report.py | 1 -
piupartslib/packagesdb.py | 4 ----
3 files changed, 7 deletions(-)
diff --git a/master-bin/detect_well_known_errors.py b/master-bin/detect_well_known_errors.py
index 490732a..ec2d4df 100755
--- a/master-bin/detect_well_known_errors.py
+++ b/master-bin/detect_well_known_errors.py
@@ -491,8 +491,6 @@ def process_section(section, config, problem_list,
section_config.get_area(),
section_config.get_arch()))
- pkgsdb.compute_package_states()
-
failures = FailureManager(logdict)
failures.sort_by_bugged_and_rdeps(pkgsdb)
diff --git a/piuparts-report.py b/piuparts-report.py
index bb12561..592c426 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -647,7 +647,6 @@ class Section:
self._package_databases = {}
self._load_package_database(section, master_directory)
self._binary_db = self._package_databases[section]
- self._binary_db.compute_package_states()
self._source_db = piupartslib.packagesdb.PackagesDB()
self._source_db.load_packages_urls(
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index 21e53c2..2dae9ba 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -555,10 +555,6 @@ class PackagesDB:
for state in self._states:
self._in_state[state].sort()
- def compute_package_states(self):
- # this must be called with cwd == master-directory
- self._compute_package_states()
-
def get_states(self):
return self._states
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list