mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Modernize Python 2 code to prepare for Python 3
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
from __future__ import absolute_import, division, print_function, \
|
||||
unicode_literals
|
||||
|
||||
from six import text_type
|
||||
|
||||
from ..source.base import BaseSource
|
||||
from ..zone import Zone
|
||||
from .plan import Plan
|
||||
@@ -68,7 +70,7 @@ class BaseProvider(BaseSource):
|
||||
changes=changes)
|
||||
if extra:
|
||||
self.log.info('plan: extra changes\n %s', '\n '
|
||||
.join([unicode(c) for c in extra]))
|
||||
.join([text_type(c) for c in extra]))
|
||||
changes += extra
|
||||
|
||||
if changes:
|
||||
|
Reference in New Issue
Block a user