Skip to content

Commit 88fbf0a

Browse files
committed
Fix string literal issue for expectedtype
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 3d7acfd commit 88fbf0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qc_ositrace/checks/osirules/osirules_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def check_message_against_rules(
273273
)
274274
else:
275275
# Check if referred message matches the expected type
276-
expected_type = f"osi3.{rule['refers_to'].strip("'")}"
276+
expected_type = f"osi3.{rule['refers_to'].strip('\'')}"
277277
if referred_message.DESCRIPTOR.full_name != expected_type:
278278
result.register_issue(
279279
checker_bundle_name=constants.BUNDLE_NAME,

0 commit comments

Comments
 (0)