remove useless "global"

(Pylint complains)

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>