mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Move the doc string to the class and remove the redundant __init__ override.
This commit is contained in:
@@ -11,24 +11,22 @@ from .base import BaseProcessor
|
|||||||
|
|
||||||
|
|
||||||
class AwsAcmMangingProcessor(BaseProcessor):
|
class AwsAcmMangingProcessor(BaseProcessor):
|
||||||
log = getLogger('AwsAcmMangingProcessor')
|
'''
|
||||||
|
processors:
|
||||||
|
awsacm:
|
||||||
|
class: octodns.processor.acme.AwsAcmMangingProcessor
|
||||||
|
|
||||||
def __init__(self, name):
|
...
|
||||||
'''
|
|
||||||
processors:
|
|
||||||
awsacm:
|
|
||||||
class: octodns.processor.acme.AwsAcmMangingProcessor
|
|
||||||
|
|
||||||
|
zones:
|
||||||
|
something.com.:
|
||||||
...
|
...
|
||||||
|
processors:
|
||||||
|
- awsacm
|
||||||
|
...
|
||||||
|
'''
|
||||||
|
|
||||||
zones:
|
log = getLogger('AwsAcmMangingProcessor')
|
||||||
something.com.:
|
|
||||||
...
|
|
||||||
processors:
|
|
||||||
- awsacm
|
|
||||||
...
|
|
||||||
'''
|
|
||||||
super(AwsAcmMangingProcessor, self).__init__(name)
|
|
||||||
|
|
||||||
def _ignore_awsacm_cnames(self, zone):
|
def _ignore_awsacm_cnames(self, zone):
|
||||||
for r in zone.records:
|
for r in zone.records:
|
||||||
|
|||||||
Reference in New Issue
Block a user