From 0d21dd1feacf8ab3a0cb03abeac7a062096851c6 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 12 Aug 2012 12:41:20 +0200 Subject: [PATCH] daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.39.5