[asterisk-commits] sgriepentrog: testsuite/asterisk/trunk r5070 - /asterisk/trunk/lib/python/ast...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 28 10:44:32 CDT 2014


Author: sgriepentrog
Date: Wed May 28 10:44:25 2014
New Revision: 5070

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5070
Log:
testsuite: correct failing playback tones_w_tonezone test

This corrects error referencing response before assignment.


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

Modified: asterisk/trunk/lib/python/asterisk/ari.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/ari.py?view=diff&rev=5070&r1=5069&r2=5070
==============================================================================
--- asterisk/trunk/lib/python/asterisk/ari.py (original)
+++ asterisk/trunk/lib/python/asterisk/ari.py Wed May 28 10:44:25 2014
@@ -603,8 +603,8 @@
                     reactor.callLater(request.delay, request.send, message)
                 else:
                     response = request.send(message)
-                if response is False:
-                    self.passed = False
+                    if response is False:
+                        self.passed = False
 
             # Split call and accumulation to always call the callback
             try:




More information about the asterisk-commits mailing list