Skip to content

Instantly share code, notes, and snippets.

@akagisho
Created January 15, 2016 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akagisho/a6233410f1dbc4d04b8d to your computer and use it in GitHub Desktop.
Save akagisho/a6233410f1dbc4d04b8d to your computer and use it in GitHub Desktop.
diff --git designate/backend/impl_nsd4.py designate/backend/impl_nsd4.py
index d868264..5e46aca 100644
--- designate/backend/impl_nsd4.py
+++ designate/backend/impl_nsd4.py
@@ -68,7 +68,7 @@ class NSD4Backend(base.Backend):
try:
LOG.debug('Executing NSD4 control call: %s on %s' % (command,
self.host))
- result = self._command(command)
+ result = self._command(command).rstrip()
except (ssl.SSLError, socket.error) as e:
LOG.debug('NSD4 control call failure: %s' % e)
raise exceptions.Backend(e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment