]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1261] corrected the type of zone_name arg for publish_xfrin_news (it's
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 5 Oct 2011 06:31:25 +0000 (23:31 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 5 Oct 2011 06:31:25 +0000 (23:31 -0700)
now a Name object, not a string)

src/bin/xfrin/xfrin.py.in

index 2e95eb17c6e5f379435425618d36ec68a61dc67a..b0a4550368cfead26a9e068a013d97de714d2191 100755 (executable)
@@ -1028,7 +1028,8 @@ class Xfrin:
         news(command: zone_new_data_ready) to zone manager and xfrout.
         if xfrin failed, just tell the bad news to zone manager, so that
         it can reset the refresh timer for that zone. '''
-        param = {'zone_name': zone_name, 'zone_class': zone_class.to_text()}
+        param = {'zone_name': zone_name.to_text(),
+                 'zone_class': zone_class.to_text()}
         if xfr_result == XFRIN_OK:
             msg = create_command(notify_out.ZONE_NEW_DATA_READY_CMD, param)
             # catch the exception, in case msgq has been killed.