Browse Source

Merge pull request #80 from github/manually-join-values

Manually join self.values to avoid double escapes, e.g. \\;
pull/82/head
Ross McFarland 9 years ago
committed by GitHub
parent
commit
6e99870cdc
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      octodns/record.py

+ 2
- 1
octodns/record.py View File

@ -254,9 +254,10 @@ class _ValuesMixin(object):
return ret
def __repr__(self):
values = "['{}']".format("', '".join([str(v) for v in self.values]))
return '<{} {} {}, {}, {}>'.format(self.__class__.__name__,
self._type, self.ttl,
self.fqdn, self.values)
self.fqdn, values)
class _GeoMixin(_ValuesMixin):


Loading…
Cancel
Save