]> err.no Git - dak/commitdiff
daklib/dbconn.py: DBBinary.get_component_name is gone, use PoolFile.component instead
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 10:41:20 +0000 (12:41 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 10:41:20 +0000 (12:41 +0200)
daklib/dbconn.py

index 46c9b498335b80e05d3abe9d08aa7ac30294c346..9b5072e4abecf0f71f7aa63a671f7f4513336d9c 100644 (file)
@@ -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')