[asterisk-commits] kmoore: testsuite/asterisk/trunk r3162 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 27 11:02:53 CDT 2012


Author: kmoore
Date: Tue Mar 27 11:02:49 2012
New Revision: 3162

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3162
Log:
And the missing "self."...

Modified:
    asterisk/trunk/lib/python/asterisk/SimpleTestCase.py

Modified: asterisk/trunk/lib/python/asterisk/SimpleTestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/SimpleTestCase.py?view=diff&rev=3162&r1=3161&r2=3162
==============================================================================
--- asterisk/trunk/lib/python/asterisk/SimpleTestCase.py (original)
+++ asterisk/trunk/lib/python/asterisk/SimpleTestCase.py Tue Mar 27 11:02:49 2012
@@ -32,7 +32,7 @@
 
         ami.registerEvent('UserEvent', self.__event_cb)
         ami.registerEvent('Newchannel', self.__channel_cb)
-        ami.originate("local/100 at test", application="Echo").addErrback(handleOriginateFailure)
+        ami.originate("local/100 at test", application="Echo").addErrback(self.handleOriginateFailure)
 
     def __channel_cb(self, ami, event):
         if not self.hangup_chan:




More information about the asterisk-commits mailing list