Fix NameError
Change-Id: Iae912475cf68a92e2dfc4a5831efeded399a74c7
diff --git a/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py b/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py
index 2607399..27bb5e3 100755
--- a/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py
+++ b/TestON/tests/FUNC/FUNCintent/dependencies/FuncIntentFunction.py
@@ -2233,10 +2233,10 @@
leaders1 = json.loads( leaders1 )
leaders2 = json.loads( leaders2 )
except( AttributeError, TypeError ):
- main.log.exception( self.name + ": Object not as expected" )
+ main.log.exception( "checkLeaderChange: Object not as expected" )
return main.FALSE
except Exception:
- main.log.exception( self.name + ": Uncaught exception!" )
+ main.log.exception( "checkLeaderChange: Uncaught exception!" )
main.cleanup()
main.exit()
main.log.info( "Checking Intent Paritions for Change in Leadership" )