from .cfg_app import PpCfgAppError, PpConfigApplication
from .pdns_zone import PdnsApiZone
-__version__ = '0.3.3'
+__version__ = '0.3.4'
LOG = logging.getLogger(__name__)
_LIBRARY_NAME = "pp-pdns-api-client"
self._api_port = self.default_api_port
self._api_servername = self.default_api_servername
self._user_agent = '{}/{}'.format(_LIBRARY_NAME, self.version)
- self._environment = 'global'
self._timeout = self.default_timeout
+ self._environment = 'global'
+ if environment != 'global':
+ self.environment = environment
+
stems = []
if cfg_stems:
if isinstance(cfg_stems, list):
)
self._user_agent = '{}/{}'.format(_LIBRARY_NAME, self.version)
- if environment != 'global':
- self.environment = environment
# -----------------------------------------------------------
@property