Fix python syntax in smoke tester

This commit is contained in:
Alan Woodward 2020-03-12 12:06:20 +00:00
parent daf149817a
commit f312ca327f
1 changed files with 2 additions and 2 deletions

View File

@ -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: