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:31 UTC

[lucene-solr] branch branch_8x 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_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


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

commit ed12fbea35b32b29f59be8397987c8c29b60bf8b
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: