You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/09/20 18:16:12 UTC
[libcloud] 04/05: Reformat code with black.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit bc631dd7362fd4a60156fd116c5a1fcc649a0d7b
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Wed Sep 20 20:07:11 2023 +0200
Reformat code with black.
---
libcloud/compute/drivers/linode.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libcloud/compute/drivers/linode.py b/libcloud/compute/drivers/linode.py
index 0b08bca47..4d21c1bc1 100644
--- a/libcloud/compute/drivers/linode.py
+++ b/libcloud/compute/drivers/linode.py
@@ -1062,7 +1062,11 @@ class LinodeNodeDriverV4(LinodeNodeDriver):
}
if ex_userdata:
- attr["metadata"] = {"user_data": binascii.b2a_base64(bytes(ex_userdata.encode("utf-8"))).decode("ascii").strip()}
+ attr["metadata"] = {
+ "user_data": binascii.b2a_base64(bytes(ex_userdata.encode("utf-8")))
+ .decode("ascii")
+ .strip()
+ }
if image is not None:
if root_pass is None: