Skip to content

Commit

Permalink
changed log message for delete
Browse files Browse the repository at this point in the history
instead of using backticks ` I am now using single quotes. I think that is much more standard and cleaner
  • Loading branch information
nh916 committed Sep 7, 2023
1 parent 35505b8 commit 4d539e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cript/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def delete(self, node) -> None:
After the node has been successfully deleted, a log is written to the terminal if `cript.API.verbose = True`
```bash
INFO: Deleted `Data` with UUID of `80bfc642-157e-4692-a547-97c470725397` from CRIPT API.
INFO: Deleted 'Data' with UUID of '80bfc642-157e-4692-a547-97c470725397' from CRIPT API.
```
Warnings
Expand Down Expand Up @@ -1107,4 +1107,4 @@ def delete(self, node) -> None:
if response["code"] != 200:
raise APIError(api_error=str(response), http_method="DELETE", api_url=delete_node_api_url)

self.logger.info(f"Deleted `{node.node_type}` with UUID of `{node.uuid}` from CRIPT API.")
self.logger.info(f"Deleted '{node.node_type}' with UUID of '{node.uuid}' from CRIPT API.")

0 comments on commit 4d539e6

Please sign in to comment.