[asterisk-commits] russell: testsuite/asterisk/trunk r1091 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 7 10:19:55 CST 2010


Author: russell
Date: Tue Dec  7 10:19:51 2010
New Revision: 1091

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1091
Log:
Ignore OSError when waiting for a CLI command to finish.

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

Modified: asterisk/trunk/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=1091&r1=1090&r2=1091
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Tue Dec  7 10:19:51 2010
@@ -323,7 +323,10 @@
                 output += l
         except IOError:
             pass
-        process.wait()
+        try:
+            process.wait()
+        except OSError:
+            pass
         return output
 
     def __gen_ast_conf(self, ast_conf, dir_cat, ast_conf_options):




More information about the asterisk-commits mailing list