lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1367122 - in /lucene/dev/branches/branch_4x: ./ dev-tools/ dev-tools/scripts/checkJavaDocs.py
Date Mon, 30 Jul 2012 15:33:07 GMT
Author: uschindler
Date: Mon Jul 30 15:33:06 2012
New Revision: 1367122

URL: http://svn.apache.org/viewvc?rev=1367122&view=rev
Log:
Merged revision(s) 1367120 from lucene/dev/trunk:
fix encoding in javadocs checker

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/dev-tools/   (props changed)
    lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py

Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py?rev=1367122&r1=1367121&r2=1367122&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/checkJavaDocs.py Mon Jul 30 15:33:06 2012
@@ -23,7 +23,7 @@ reMarkup = re.compile('<.*?>')
 
 def checkSummary(fullPath):
   printed = False
-  f = open(fullPath)
+  f = open(fullPath, encoding='UTF-8')
   anyMissing = False
   sawPackage = False
   desc = []



Mime
View raw message