From 4481cf4d8446b2d8237fba5f4d1a55cb3c70e451 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 29 Sep 2012 14:26:53 +0000 Subject: [PATCH] NOTICE/LICENSE are UTF-8 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391809 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/smokeTestRelease.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py index 0296d08ef24..dba87586f70 100644 --- a/dev-tools/scripts/smokeTestRelease.py +++ b/dev-tools/scripts/smokeTestRelease.py @@ -589,14 +589,14 @@ def verifyUnpacked(project, artifact, unpackPath, version, tmpDir): if project == 'lucene': if LUCENE_NOTICE is None: - LUCENE_NOTICE = open('%s/NOTICE.txt' % unpackPath).read() + LUCENE_NOTICE = open('%s/NOTICE.txt' % unpackPath, encoding='UTF-8').read() if LUCENE_LICENSE is None: - LUCENE_LICENSE = open('%s/LICENSE.txt' % unpackPath).read() + LUCENE_LICENSE = open('%s/LICENSE.txt' % unpackPath, encoding='UTF-8').read() else: if SOLR_NOTICE is None: - SOLR_NOTICE = open('%s/NOTICE.txt' % unpackPath).read() + SOLR_NOTICE = open('%s/NOTICE.txt' % unpackPath, encoding='UTF-8').read() if SOLR_LICENSE is None: - SOLR_LICENSE = open('%s/LICENSE.txt' % unpackPath).read() + SOLR_LICENSE = open('%s/LICENSE.txt' % unpackPath, encoding='UTF-8').read() if not isSrc: # TODO: we should add verifyModule/verifySubmodule (e.g. analysis) here and recurse through