[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jul 8 11:36:09 CDT 2011


branch "review" has been updated
       via  aefafc0c754c1de62690490694651183a93de219 (commit)
      from  8c02714f3c5bc0c08927166833e693e426a256ca (commit)

Summary of changes:
 remote.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit aefafc0c754c1de62690490694651183a93de219
Author: Darren Sessions <dsessions at digium.com>
Date:   Fri Jul 8 11:36:07 2011 -0500

    Fixed the remote restart function to return a value instead of None so the RPC lib does not have a cow marshalling a None value.

diff --git a/remote.py b/remote.py
index 159d941..1106079 100755
--- a/remote.py
+++ b/remote.py
@@ -316,6 +316,7 @@ class RemoteManagement(object):
         if not os.path.exists(initScript) or not os.access(initScript, os.X_OK):
             return {'success':False, 'msg':'Unable to locate the testsuite-remote init script required to restart. (%s)' % initScript}
         subprocess.Popen([initScript, 'restart'])
+        return {'success':True}
 
     def _argReplace(self, execCmd):
         for arg in execCmd:

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list