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

Use target.id instead of class name

This commit is contained in:
Paul van Brouwershaven
2017-09-29 10:09:16 +02:00
parent 11f4359099
commit 4b41762642
9 changed files with 47 additions and 43 deletions

View File

@@ -18,6 +18,7 @@ class SimpleSource(object):
class SimpleProvider(object):
SUPPORTS_GEO = False
SUPPORTS = set(('A',))
id = 'test'
def __init__(self, id='test'):
pass
@@ -34,6 +35,7 @@ class SimpleProvider(object):
class GeoProvider(object):
SUPPORTS_GEO = True
id = 'test'
def __init__(self, id='test'):
pass