Commit 63d71a11 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Clean up formatting of some error messages. (They had

many spaces in middle of text.)
Reviewed via jabber.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2897 e5f2f494-b856-4b98-b285-d166d9295462
parent 55af28ea
...@@ -153,8 +153,8 @@ class ZonemgrRefresh: ...@@ -153,8 +153,8 @@ class ZonemgrRefresh:
def zone_refresh_success(self, zone_name_class): def zone_refresh_success(self, zone_name_class):
"""Update zone info after zone refresh success""" """Update zone info after zone refresh success"""
if (self._zone_not_exist(zone_name_class)): if (self._zone_not_exist(zone_name_class)):
raise ZonemgrException("[b10-zonemgr] Zone (%s, %s) doesn't \ raise ZonemgrException("[b10-zonemgr] Zone (%s, %s) doesn't "
belong to zonemgr" % zone_name_class) "belong to zonemgr" % zone_name_class)
return return
self.zonemgr_reload_zone(zone_name_class) self.zonemgr_reload_zone(zone_name_class)
self._set_zone_refresh_timer(zone_name_class) self._set_zone_refresh_timer(zone_name_class)
...@@ -164,8 +164,8 @@ class ZonemgrRefresh: ...@@ -164,8 +164,8 @@ class ZonemgrRefresh:
def zone_refresh_fail(self, zone_name_class): def zone_refresh_fail(self, zone_name_class):
"""Update zone info after zone refresh fail""" """Update zone info after zone refresh fail"""
if (self._zone_not_exist(zone_name_class)): if (self._zone_not_exist(zone_name_class)):
raise ZonemgrException("[b10-zonemgr] Zone (%s, %s) doesn't \ raise ZonemgrException("[b10-zonemgr] Zone (%s, %s) doesn't "
belong to zonemgr" % zone_name_class) "belong to zonemgr" % zone_name_class)
return return
self._set_zone_state(zone_name_class, ZONE_OK) self._set_zone_state(zone_name_class, ZONE_OK)
self._set_zone_retry_timer(zone_name_class) self._set_zone_retry_timer(zone_name_class)
...@@ -173,8 +173,8 @@ class ZonemgrRefresh: ...@@ -173,8 +173,8 @@ class ZonemgrRefresh:
def zone_handle_notify(self, zone_name_class, master): def zone_handle_notify(self, zone_name_class, master):
"""Handle zone notify""" """Handle zone notify"""
if (self._zone_not_exist(zone_name_class)): if (self._zone_not_exist(zone_name_class)):
raise ZonemgrException("[b10-zonemgr] Notified zone (%s, %s) doesn't \ raise ZonemgrException("[b10-zonemgr] Notified zone (%s, %s) "
belong to zonemgr" % zone_name_class) "doesn't belong to zonemgr" % zone_name_class)
return return
self._set_zone_notifier_master(zone_name_class, master) self._set_zone_notifier_master(zone_name_class, master)
self._set_zone_notify_timer(zone_name_class) self._set_zone_notify_timer(zone_name_class)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment