]> xenbits.xensource.com Git - people/liuw/xtf.git/commit
mkinfo: Fix JSON damage from splitting an empty string
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 2 Aug 2016 18:08:43 +0000 (19:08 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 2 Aug 2016 18:08:43 +0000 (19:08 +0100)
commitafae0848ef54dba62e6fe6edfb3cbd656db2d1f8
tree2581dc129b3de9f3ef91a707981d6989ee8ecf26
parentae21e5229d095de733234d0acbc7d66bba0eefe4
mkinfo: Fix JSON damage from splitting an empty string

In python, splitting an empty string results in a single-entry list containing
an empty string.  This causes the variations list to be wrong when no
variations are in use.

It is only by chance that doesn't cause an issue for ./xtf-runner

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
build/mkinfo.py