[asterisk-commits] pabelanger: testsuite/asterisk/trunk r859 - /asterisk/trunk/lib/python/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 18 13:31:06 CST 2010
Author: pabelanger
Date: Thu Nov 18 13:31:02 2010
New Revision: 859
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=859
Log:
Another formatting fix to resolve dependencies again.
Modified:
asterisk/trunk/lib/python/asterisk/utils.py
Modified: asterisk/trunk/lib/python/asterisk/utils.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/utils.py?view=diff&rev=859&r1=858&r2=859
==============================================================================
--- asterisk/trunk/lib/python/asterisk/utils.py (original)
+++ asterisk/trunk/lib/python/asterisk/utils.py Thu Nov 18 13:31:02 2010
@@ -24,9 +24,11 @@
if fpath:
if is_exe(program):
return program
- else:
- for path in os.environ["PATH"].split(os.pathsep):
- exe_file = os.path.join(path, program)
- if is_exe(exe_file):
- return exe_file
+
+ else:
+ for path in os.environ["PATH"].split(os.pathsep):
+ exe_file = os.path.join(path, program)
+ if is_exe(exe_file):
+ return exe_file
+
return None
More information about the asterisk-commits
mailing list