Browse Source

[2439] (minor) Comment updates

Michal 'vorner' Vaner 12 years ago
parent
commit
44fe82eeed
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/lib/python/isc/xfrin/diff.py
  2. 1 1
      src/lib/python/isc/xfrin/tests/diff_tests.py

+ 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
         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.
         '''

+ 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.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