bitbake: bitbake-diffsigs: Fix runtime error when no arguments are given
authorJacob Kroon <jacob.kroon@mikrodidakt.se>
Sat, 26 Apr 2014 15:05:30 +0000 (17:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Apr 2014 00:27:55 +0000 (01:27 +0100)
commit1c28195de3297d33c13b39c81dd2ce0f9ba42434
treed9a8b7d1b1bcebb9663e839d2ee4e5214d2a261c
parent9e4311fdedf3571fdc796d9b819cac22120771c0
bitbake: bitbake-diffsigs: Fix runtime error when no arguments are given

If bitbake-diffsigs is run without arguments it will error:

    Traceback (most recent call last):
      File "./bin/bitbake-diffsigs", line 121, in <module>
        if output:
    NameError: name 'output' is not defined

Fix this by moving the check for output into the inner else-clause.

(Bitbake rev: 7d3545a66863ad7183a7650b2af57eee091c45ae)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-diffsigs