mirror of https://github.com/apache/lucene.git
use os.path.exists instead of os.access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a00e1ab23d
commit
770b1e3dd2
|
@ -855,7 +855,7 @@ def checkJavadocpathFull(path, failOnMissing=True):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue