unber.py: work-around pylint reporting (possibly-used-before-assignment)

contrib/unber.py:39:22: E0606: Possibly using variable 'content' before assignment (possibly-used-before-assignment)

Change-Id: I725cd5e05e3121c853669eb4bbfe5ba51b79eb75
This commit is contained in:
Harald Welte
2024-06-10 09:41:50 +02:00
committed by laforge
parent 5964bdd5a4
commit 5341bf902f

View File

@@ -35,5 +35,8 @@ if __name__ == '__main__':
content = f.read()
elif opts.hex:
content = h2b(opts.hex)
else:
# avoid pylint "(possibly-used-before-assignment)" below
sys.exit(2)
process_one_level(content, 0)