lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1367482 - in /lucene/pylucene/trunk/jcc: CHANGES jcc/cpp.py
Date Tue, 31 Jul 2012 10:26:29 GMT
Author: vajda
Date: Tue Jul 31 10:26:29 2012
New Revision: 1367482

URL: http://svn.apache.org/viewvc?rev=1367482&view=rev
Log:
fixed bug PYLUCENE-20 (Roman Chyla)

Modified:
    lucene/pylucene/trunk/jcc/CHANGES
    lucene/pylucene/trunk/jcc/jcc/cpp.py

Modified: lucene/pylucene/trunk/jcc/CHANGES
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/CHANGES?rev=1367482&r1=1367481&r2=1367482&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/CHANGES (original)
+++ lucene/pylucene/trunk/jcc/CHANGES Tue Jul 31 10:26:29 2012
@@ -3,6 +3,7 @@ Version 2.13 ->
  - fixed class initialization race bug PYLUCENE-17 (with Patrick J. McNerthney)
  - added support for initVM's vmargs to be a [list, of, args], PYLUCENE-19
  - added support for using full Java class names in Python via --use_full_names
+ - fixed bug PYLUCENE-20 (Roman Chyla)
  - 
 
 Version 2.12 -> 2.13

Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=1367482&r1=1367481&r2=1367482&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Tue Jul 31 10:26:29 2012
@@ -605,7 +605,7 @@ def jcc(args):
             done.update(importset)
             if moduleName:
                 for cls in importset:
-                    name = cls.getName().split_pkg('.')[-1]
+                    name = split_pkg(cls.getName(), '.')[-1]
                     if not use_full_names:
                         if name in pythonNames:
                             raise ValueError, (cls, 'python class name already in use, use
--rename', name, pythonNames[name])



Mime
View raw message