utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'level'
authorJerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Tue, 3 Sep 2019 21:13:25 +0000 (23:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Sep 2019 20:24:42 +0000 (22:24 +0200)
commit6748e42acebe4dfa2221ef508883321f85253ca0
tree890b7eb00ae4a7cfdced8966be96c721b30299a9
parentdd99dc576340b8d1bcb046fbaee9b75789b23988
utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of variable 'level'

Change the type of variable "level" to make it a class member.
It will be used not only locally.

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[Thomas: initialize self.level in the before() method, as suggested by
Ricardo]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/checkpackagelib/lib_config.py