Fixing some Linter mistakes
This commit is contained in:
@@ -344,7 +344,7 @@ class PingAction(AlpineBitsAction):
|
||||
# compare echo data with capabilities, create a dictionary containing the matching capabilities
|
||||
capabilities_dict = server_capabilities.get_capabilities_dict()
|
||||
|
||||
_LOGGER.info(f"Capabilities Dict: {capabilities_dict}")
|
||||
_LOGGER.debug("Capabilities of Server: %s", capabilities_dict)
|
||||
matching_capabilities = {"versions": []}
|
||||
|
||||
# Iterate through client's requested versions
|
||||
@@ -541,11 +541,15 @@ class ReadAction(AlpineBitsAction):
|
||||
) # List of (Reservation, Customer) tuples
|
||||
|
||||
_LOGGER.info(
|
||||
f"Querying reservations and customers for hotel {hotelid} from database"
|
||||
"Querying reservations and customers for hotel %s from database",
|
||||
hotelid,
|
||||
)
|
||||
for reservation, customer in reservation_customer_pairs:
|
||||
_LOGGER.info(
|
||||
f"Reservation: {reservation.id}, Customer: {customer.given_name}"
|
||||
"Retrieving reservation %s for customer %s %s",
|
||||
reservation.id,
|
||||
customer.given_name,
|
||||
customer.surname,
|
||||
)
|
||||
|
||||
res_retrive_rs = create_res_retrieve_response(reservation_customer_pairs)
|
||||
@@ -562,7 +566,7 @@ class ReadAction(AlpineBitsAction):
|
||||
|
||||
|
||||
class NotifReportReadAction(AlpineBitsAction):
|
||||
"""Necessary for read action to follow specification. Clients need to report acknowledgements"""
|
||||
"""Necessary for read action to follow specification. Clients need to report acknowledgements."""
|
||||
|
||||
def __init__(self, config: dict = {}):
|
||||
self.name = AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
|
||||
|
||||
Reference in New Issue
Block a user