[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.52-17-gf515a64
Andreas Beckmann
anbe at debian.org
Tue May 28 11:37:40 UTC 2013
The following commit has been merged in the develop branch:
commit 806dd3840acd12265feb49470e1dd0a4cf134bb4
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun May 26 15:28:21 2013 +0200
lib/db: drop obsolete read_packages_file()
this will break the unittest that still uses this ...
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index ad5d956..187b966 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -157,10 +157,8 @@ class Package(UserDict.UserDict):
class PackagesFile(UserDict.UserDict):
- def __init__(self, input=None):
+ def __init__(self):
UserDict.UserDict.__init__(self)
- if input is not None:
- self._read_file(input)
def load_packages_urls(self, urls):
for url in urls:
@@ -381,10 +379,6 @@ class PackagesDB:
self._packages_files.append(pf)
self._packages = None
- def read_packages_file(self, input):
- self._packages_files.append(PackagesFile(input))
- self._packages = None
-
def set_dependency_databases(self, dependency_databases=[]):
self._dependency_databases = list(dependency_databases)
--
piuparts git repository
More information about the Piuparts-commits
mailing list