[asterisk-commits] wdoekes: testsuite/asterisk/trunk r3671 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 20 15:04:07 CDT 2013


Author: wdoekes
Date: Wed Mar 20 15:04:03 2013
New Revision: 3671

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3671
Log:
When mirroring the asterisk dirs, don't trip over broken symlinks.

Review: https://reviewboard.asterisk.org/r/2395/

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=3671&r1=3670&r2=3671
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Wed Mar 20 15:04:03 2013
@@ -696,7 +696,7 @@
             for filename in filenames:
                 target = "%s/%s" % (self.base, os.path.join(ast_dir_path,
                                     dirname, filename))
-                if os.path.exists(target) or filename in blacklist:
+                if os.path.lexists(target) or filename in blacklist:
                     continue
                 os.symlink(os.path.join(ast_dir_path, dirname, filename),
                            target)




More information about the asterisk-commits mailing list