Fix typos

Change-Id: I3586cec83d90c77c57daf68fa0077efccafd96ac
diff --git a/TestON/tests/HAsanity/HAsanity.py b/TestON/tests/HAsanity/HAsanity.py
index e136d5e..4f8fadc 100644
--- a/TestON/tests/HAsanity/HAsanity.py
+++ b/TestON/tests/HAsanity/HAsanity.py
@@ -2846,7 +2846,7 @@
         for candidates in newAllCandidates:
             if set( candidates ) != set( newCandidates ):
                 newLeaderResult = main.FALSE
-                main.error.log( "Discrepancy in candidate lists detected" )
+                main.log.error( "Discrepancy in candidate lists detected" )
 
         # Check that the new leader is not the older leader, which was withdrawn
         if newLeader == oldLeader:
@@ -2931,7 +2931,7 @@
         for candidates in newAllCandidates:
             if set( candidates ) != set( newCandidates ):
                 newLeaderResult = main.FALSE
-                main.error.log( "Discrepancy in candidate lists detected" )
+                main.log.error( "Discrepancy in candidate lists detected" )
 
         # Check that the re-elected node is last on the candidate List
         if oldLeader != newCandidates[ -1 ]: