mkhtml2: avoid double dict lookups
commitc0e4aef07c697f24bf5cc56cd3e54b61102d6747
authorStefan Sauer <ensonic@users.sf.net>
Sun, 13 May 2018 16:43:18 +0000 (13 18:43 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Sun, 13 May 2018 16:43:18 +0000 (13 18:43 +0200)
tree08f4a8943d0f97cbe5f00c1d4223ec4267b9dfdd
parent73d665f4396f87870c85ba5e40dd19b861c14cdf
mkhtml2: avoid double dict lookups

Use dict.get(), assign to a var and then check the var for None instead of
checking for key in dict and then accessing the dict.
gtkdoc/mkhtml2.py