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 authored and laforge committed 2024-06-10 11:39:28 +00:00
1 parent 5964bdd5a4
commit 5341bf902f
1 file changed
+3
+3
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)