mirror of https://github.com/apache/lucene.git
Fix python syntax in smoke tester
This commit is contained in:
parent
daf149817a
commit
f312ca327f
|
@ -225,9 +225,9 @@ def checkAllJARs(topDir, project, gitRevision, version, tmpDir, baseURL):
|
|||
for file in files:
|
||||
if file.lower().endswith('.jar'):
|
||||
if project == 'solr':
|
||||
if (normRoot.endswith('/contrib/dataimporthandler-extras/lib') and (file.startswith('javax.mail-') or file.startswith('activation-')))
|
||||
if ((normRoot.endswith('/contrib/dataimporthandler-extras/lib') and (file.startswith('javax.mail-') or file.startswith('activation-')))
|
||||
or (normRoot.endswith('/test-framework/lib') and file.startswith('jersey-'))
|
||||
or (normRoot.endsWith('/contrib/extraction/lib') and file.startswith('xml-apis-')):
|
||||
or (normRoot.endsWith('/contrib/extraction/lib') and file.startswith('xml-apis-'))):
|
||||
print(' **WARNING**: skipping check of %s/%s: it has javax.* classes' % (root, file))
|
||||
continue
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue