Skip to content

Commit

Permalink
fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh-hegde committed Feb 14, 2024
1 parent 90efd51 commit 3ba27e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions superset/advanced_data_type/plugins/internet_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ def port_translation_func(req: AdvancedDataTypeRequest) -> AdvancedDataTypeRespo
else port_conversion_dict[string_value]
)
except (KeyError, ValueError):
resp["error_message"] = \
f"'{string_value}' does not appear to be a port name or number"
resp[
"error_message"
] = f"'{string_value}' does not appear to be a port name or number"
break
else:
resp["display_value"] = ", ".join(
Expand Down

0 comments on commit 3ba27e5

Please sign in to comment.