You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ro...@apache.org on 2020/03/12 12:07:30 UTC

[lucene-solr] branch branch_8_5 updated: Fix python syntax in smoke tester

This is an automated email from the ASF dual-hosted git repository.

romseygeek pushed a commit to branch branch_8_5
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8_5 by this push:
     new ef48812  Fix python syntax in smoke tester
ef48812 is described below

commit ef488121f441a0355c2701aab971d90b5546fbdb
Author: Alan Woodward <ro...@apache.org>
AuthorDate: Thu Mar 12 12:06:20 2020 +0000

    Fix python syntax in smoke tester
---
 dev-tools/scripts/smokeTestRelease.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index 47f44b1..e4cc4ca 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -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: