diff --git a/qubes/device_protocol.py b/qubes/device_protocol.py index e04340a77..1589848d7 100644 --- a/qubes/device_protocol.py +++ b/qubes/device_protocol.py @@ -742,7 +742,6 @@ def sanitize_str( if replace_char is None: not_allowed_chars = set(untrusted_value) - allowed_chars if not_allowed_chars: - print(untrusted_value) raise ProtocolError(error_message + repr(not_allowed_chars)) return untrusted_value result = ""