mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Really fix lint issue, should read better
This commit is contained in:
@@ -34,6 +34,7 @@ from .base import BaseProvider
|
|||||||
def _monitor_host_get(self):
|
def _monitor_host_get(self):
|
||||||
return self._host or self._options['host']
|
return self._host or self._options['host']
|
||||||
|
|
||||||
|
|
||||||
DSFMonitor.host = property(_monitor_host_get)
|
DSFMonitor.host = property(_monitor_host_get)
|
||||||
|
|
||||||
|
|
||||||
@@ -42,12 +43,14 @@ def _monitor_host_set(self, value):
|
|||||||
self._options = {}
|
self._options = {}
|
||||||
self._host = self._options['host'] = value
|
self._host = self._options['host'] = value
|
||||||
|
|
||||||
|
|
||||||
DSFMonitor.host = DSFMonitor.host.setter(_monitor_host_set)
|
DSFMonitor.host = DSFMonitor.host.setter(_monitor_host_set)
|
||||||
|
|
||||||
|
|
||||||
def _monitor_path_get(self):
|
def _monitor_path_get(self):
|
||||||
return self._path or self._options['path']
|
return self._path or self._options['path']
|
||||||
|
|
||||||
|
|
||||||
DSFMonitor.path = property(_monitor_path_get)
|
DSFMonitor.path = property(_monitor_path_get)
|
||||||
|
|
||||||
|
|
||||||
@@ -56,6 +59,7 @@ def _monitor_path_set(self, value):
|
|||||||
self._options = {}
|
self._options = {}
|
||||||
self._path = self._options['path'] = value
|
self._path = self._options['path'] = value
|
||||||
|
|
||||||
|
|
||||||
DSFMonitor.path = DSFMonitor.path.setter(_monitor_path_set)
|
DSFMonitor.path = DSFMonitor.path.setter(_monitor_path_set)
|
||||||
|
|
||||||
|
|
||||||
@@ -73,6 +77,7 @@ def _monitor_update(self, host, path):
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
DSFMonitor.update = _monitor_update
|
DSFMonitor.update = _monitor_update
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user