@@ -87,7 +87,7 @@ def collect_conda_targets(ctx, paths, recursive=False, found_tool_callback=None)
8787 else :
8888 real_paths .append (path )
8989
90- for ( tool_path , tool_source ) in yield_tool_sources_on_paths (
90+ for tool_path , tool_source in yield_tool_sources_on_paths (
9191 ctx , real_paths , recursive = recursive , exclude_deprecated = True
9292 ):
9393 if found_tool_callback :
@@ -132,9 +132,7 @@ def collect_conda_target_lists_and_tool_paths(ctx, paths, recursive=False, found
132132 """
133133 conda_target_lists = set ()
134134 tool_paths = collections .defaultdict (list )
135- for (tool_path , tool_source ) in yield_tool_sources_on_paths (
136- ctx , paths , recursive = recursive , yield_load_errors = False
137- ):
135+ for tool_path , tool_source in yield_tool_sources_on_paths (ctx , paths , recursive = recursive , yield_load_errors = False ):
138136 try :
139137 if found_tool_callback :
140138 found_tool_callback (tool_path )
@@ -153,7 +151,7 @@ def collect_conda_target_lists_and_tool_paths(ctx, paths, recursive=False, found
153151
154152def tool_source_conda_targets (tool_source ):
155153 """Load CondaTarget object from supplied abstract tool source."""
156- requirements , _ = tool_source .parse_requirements_and_containers ()
154+ requirements , * _ = tool_source .parse_requirements_and_containers ()
157155 return conda_util .requirements_to_conda_targets (requirements )
158156
159157
0 commit comments