where is self.license defined/set?

i looked at the rest of this file, can you also cleanup the indentation of some of the dicts used?