From: Michal 'vorner' Vaner Date: Mon, 28 Jan 2013 12:40:32 +0000 (+0100) Subject: [2439] (minor) Exception docstrings X-Git-Tag: bind10-1.0.0-rc-release~25^2~13^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4032a6703f672811b92811c10998d8eb718eec6;p=thirdparty%2Fkea.git [2439] (minor) Exception docstrings Clarify one exception and document one old exception. --- diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in index f73e966583..8daf62f956 100755 --- a/src/bin/xfrin/xfrin.py.in +++ b/src/bin/xfrin/xfrin.py.in @@ -96,12 +96,15 @@ class XfrinProtocolError(Exception): class XfrinZoneError(Exception): ''' - An exception raised when the received zone contain invalid data. + An exception raised when the received zone is broken enough to be unusable. ''' pass class XfrinZoneUptodate(Exception): - '''TBD + ''' + Thrown when the zone is already up to date, so there's no need to download + the zone. This is not really an error case (but it's still an exceptional + condition and the control flow is different than usual). ''' pass