You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/10/27 19:42:46 UTC
svn commit: r1402828 -
/lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
Author: mikemccand
Date: Sat Oct 27 17:42:45 2012
New Revision: 1402828
URL: http://svn.apache.org/viewvc?rev=1402828&view=rev
Log:
use os.path.exists instead of os.access
Modified:
lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
Modified: lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py?rev=1402828&r1=1402827&r2=1402828&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/smokeTestRelease.py Sat Oct 27 17:42:45 2012
@@ -855,7 +855,7 @@ def checkJavadocpathFull(path, failOnMis
raise RuntimeError('broken javadocs links found!')
def testDemo(isSrc, version, jdk):
- if (os.access('index', os.F_OK)):
+ if os.path.exists('index'):
shutil.rmtree('index') # nuke any index from any previous iteration
print(' test demo with %s...' % jdk)