Browse Source

[2439] (minor) Comment updates

Michal 'vorner' Vaner 12 years ago
parent
commit
44fe82eeed

+ 2 - 2
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
         This first applies all changes to the data source. Then it creates
         and returns an RRsetCollection on top of the corresponding zone
         and returns an RRsetCollection on top of the corresponding zone
-        updater and returns it. Notice it might be impossible to apply more
+        updater. Notice it might be impossible to apply more changes after
-        changes after that.
+        that.
 
 
         This must not be called after a commit, or it'd throw ValueError.
         This must not be called after a commit, or it'd throw ValueError.
         '''
         '''

+ 1 - 1
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 = Diff(self, Name('example.org'), single_update_mode=True)
         diff.add_data(self.__rrset_soa)
         diff.add_data(self.__rrset_soa)
         collection = diff.get_rrset_collection()
         collection = diff.get_rrset_collection()
-        # Check it is commited
+        # Check it is applied
         self.assertEqual(1, len(self.__data_operations))
         self.assertEqual(1, len(self.__data_operations))
         self.assertEqual('add', self.__data_operations[0][0])
         self.assertEqual('add', self.__data_operations[0][0])
         # Check the returned one is actually RRsetCollection
         # Check the returned one is actually RRsetCollection