[bitbake-devel] [PATCH 1/2] depexp: remove the not needed -g option requirement

Bartosz 'mastier' Woronicz mastier at mastier.pl
Mon Jun 13 12:16:07 UTC 2016


Signed-off-by: Bartosz 'mastier' Woronicz <mastier at mastier.pl>
---
 bitbake/lib/bb/ui/depexp.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 240aafc..6a6bfd5 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -202,9 +202,6 @@ def main(server, eventHandler, params):
             print(cmdline['msg'])
             return 1
         cmdline = cmdline['action']
-        if not cmdline or cmdline[0] != "generateDotGraph":
-            print("This UI requires the -g option")
-            return 1
         ret, error = server.runCommand(["generateDepTreeEvent", cmdline[1], cmdline[2]])
         if error:
             print("Error running command '%s': %s" % (cmdline, error))
-- 
2.7.4




More information about the bitbake-devel mailing list