summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index c8e1352865..b38c151b3d 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -414,7 +414,11 @@ class CommandsSync:
414 getAllAppends.readonly = True 414 getAllAppends.readonly = True
415 415
416 def findProviders(self, command, params): 416 def findProviders(self, command, params):
417 return command.cooker.findProviders() 417 try:
418 mc = params[0]
419 except IndexError:
420 mc = ''
421 return command.cooker.findProviders(mc)
418 findProviders.readonly = True 422 findProviders.readonly = True
419 423
420 def findBestProvider(self, command, params): 424 def findBestProvider(self, command, params):