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

Change the type of variable 'new_package' to make it a class member.
It will be used not only locally. Also initialize it.

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/checkpackagelib/lib_config.py