From: Michal 'vorner' Vaner Date: Thu, 24 Jan 2013 17:39:46 +0000 (+0100) Subject: [2439] (minor) Comment updates X-Git-Tag: bind10-1.0.0-rc-release~25^2~13^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44fe82eeedff8f69053c6f455134a256daab3340;p=thirdparty%2Fkea.git [2439] (minor) Comment updates --- diff --git a/src/lib/python/isc/xfrin/diff.py b/src/lib/python/isc/xfrin/diff.py index 2d063ae441..8d0bb08c0a 100644 --- a/src/lib/python/isc/xfrin/diff.py +++ b/src/lib/python/isc/xfrin/diff.py @@ -589,8 +589,8 @@ class Diff: ''' This first applies all changes to the data source. Then it creates and returns an RRsetCollection on top of the corresponding zone - updater and returns it. Notice it might be impossible to apply more - changes after that. + updater. Notice it might be impossible to apply more changes after + that. This must not be called after a commit, or it'd throw ValueError. ''' diff --git a/src/lib/python/isc/xfrin/tests/diff_tests.py b/src/lib/python/isc/xfrin/tests/diff_tests.py index 72dc8bb708..2cf670e154 100644 --- a/src/lib/python/isc/xfrin/tests/diff_tests.py +++ b/src/lib/python/isc/xfrin/tests/diff_tests.py @@ -1111,7 +1111,7 @@ class DiffTest(unittest.TestCase): diff = Diff(self, Name('example.org'), single_update_mode=True) diff.add_data(self.__rrset_soa) collection = diff.get_rrset_collection() - # Check it is commited + # Check it is applied self.assertEqual(1, len(self.__data_operations)) self.assertEqual('add', self.__data_operations[0][0]) # Check the returned one is actually RRsetCollection