[Bug #412271, bug #449009] Use 'license' as the attribute name,
   though 'licence' is still supported for backward-compatibility
   (Should I add a warning to get_licence(), or not bother?)

Also fixes an UnboundLocalError noticed by PyChecker
1 file changed