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 2020/03/01 20:08:19 UTC
[libcloud] 01/05: Fix failing tests.
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 e2ae2f74f0bae47033da7444cc78a736fadbf5cd
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Mar 1 20:45:30 2020 +0100
Fix failing tests.
---
libcloud/dns/base.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libcloud/dns/base.py b/libcloud/dns/base.py
index 95e2d2a..57611d1 100644
--- a/libcloud/dns/base.py
+++ b/libcloud/dns/base.py
@@ -559,9 +559,9 @@ class DNSDriver(BaseDriver):
if record.type in [RecordType.MX, RecordType.SRV]:
priority = str(record.extra['priority'])
- parts = [name, ttl, 'IN', record.type, priority, data]
+ parts = [name, ttl, 'IN', str(record.type), priority, data]
else:
- parts = [name, ttl, 'IN', record.type, data]
+ parts = [name, ttl, 'IN', str(record.type), data]
line = '\t'.join(parts)
return line