1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Update code formatting - line length

This commit is contained in:
thatmattlove
2021-09-12 15:09:24 -07:00
parent a62785227e
commit 52ebf4663c
50 changed files with 151 additions and 464 deletions

View File

@@ -92,9 +92,7 @@ class Device(HyperglassModel, extra="allow"):
legacy_display_name = values.pop("display_name", None)
if legacy_display_name is not None:
log.warning(
"The 'display_name' field is deprecated. Use the 'name' field instead."
)
log.warning("The 'display_name' field is deprecated. Use the 'name' field instead.")
device_id = generate_id(legacy_display_name)
display_name = legacy_display_name
else: