classes/sstate: avoid traceback when no files have been staged
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 3 Apr 2013 07:10:53 +0000 (08:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2013 16:01:13 +0000 (17:01 +0100)
commit357bf2471b8a278702edd646679661cad710d7f8
treeb1288e7f7e724c43fea8702a724f2abff099be0a
parente3c2b59b8f3e1b6c2ae290c505bb353a81176cca
classes/sstate: avoid traceback when no files have been staged

If no files have been staged we want to continue without error instead
of showing a traceback.

Fixes [YOCTO #4056].

(From OE-Core rev: ca36be708e54c0c86535bc8512295c76c48f6cf5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass