1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Remove explicit use of six

This commit is contained in:
Ross McFarland
2021-09-17 07:10:07 -07:00
parent 00d283b217
commit aae65594f2
40 changed files with 160 additions and 216 deletions

View File

@@ -9,7 +9,6 @@ import base64
import binascii
import logging
from collections import defaultdict
from six import text_type
import ovh
from ovh import ResourceNotFoundError
@@ -65,7 +64,7 @@ class OvhProvider(BaseProvider):
records = self.get_records(zone_name=zone_name)
exists = True
except ResourceNotFoundError as e:
if text_type(e) != self.ZONE_NOT_FOUND_MESSAGE:
if str(e) != self.ZONE_NOT_FOUND_MESSAGE:
raise
exists = False
records = []