X-Git-Url: https://git.donarmstrong.com/?p=dak.git;a=blobdiff_plain;f=daklib%2Futils.py;h=90c87bf4435fa6e0a625dfbb1ef76c017fcc87fe;hp=3ae8d289cd14c84d3abee8b355849fb01d4fa64e;hb=8ddfb3391d47d9b73c90948b521b6b0a76add4b7;hpb=f55f512e0582645f6af01d6ae1914a043ecae139 diff --git a/daklib/utils.py b/daklib/utils.py index 3ae8d289..90c87bf4 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -155,11 +155,7 @@ def extract_component_from_section(section, session=None): # Expand default component if component == "": - comp = get_component(section, session) - if comp is None: - component = "main" - else: - component = comp.component_name + component = "main" return (section, component)