scanpypi: fix licence detection handling for unknown licences
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 26 Feb 2018 13:01:18 +0000 (14:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 Feb 2018 19:55:19 +0000 (20:55 +0100)
commitc46f72b61e4dc989f520271bc98f7b15015fcdcf
treea535b4435ed7296365057a2d51be51eb0f170ecc
parentcfafcfa9af4ee04c563d3c682d2001a8516a866c
scanpypi: fix licence detection handling for unknown licences

Check for match object not being None.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
utils/scanpypi