2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[1351] Update docstring of set_tsig_key_name()

This commit is contained in:
Jelte Jansen
2012-12-10 21:49:23 +01:00
parent b732625534
commit 669a650ec3

View File

@@ -1246,10 +1246,12 @@ class ZoneInfo:
raise XfrinZoneInfoException(errmsg) raise XfrinZoneInfoException(errmsg)
def set_tsig_key_name(self, tsig_key_str): def set_tsig_key_name(self, tsig_key_str):
"""Set the tsig_key for this zone, given a TSIG key string """Set the name of the tsig_key for this zone. If tsig_key_str
representation. If tsig_key_str is None, no TSIG key will is None, no TSIG key will be used. This name is used to
be set. Raises XfrinZoneInfoException if tsig_key_str cannot find the TSIG key to use for transfers in the global TSIG
be parsed. TODO UPDATE""" key ring.
Raises XfrinZoneInfoException if tsig_key_str is not a valid
(dns) name."""
if tsig_key_str is None: if tsig_key_str is None:
self.tsig_key_name = None self.tsig_key_name = None
else: else: