From: Ansgar Burchardt Date: Sun, 12 Aug 2012 10:41:20 +0000 (+0200) Subject: daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d21dd1feacf8ab3a0cb03abeac7a062096851c6;p=dak daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 46c9b498..9b5072e4 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -638,7 +638,7 @@ def get_component_by_package_suite(package, suite_list, arch_list=[], session=No if binary is None: return None else: - return binary.get_component_name() + return binary.poolfile.component.component_name __all__.append('get_component_by_package_suite')