javaclass

Changeset

10:38c56a357c49
2004-11-09 Paul Boddie raw files shortlog changelog graph Removed the undesirable conversion to Unicode in NameUtils.get_name.
classfile.py (file)
     1.1 --- a/classfile.py	Mon Nov 08 21:59:24 2004 +0100
     1.2 +++ b/classfile.py	Tue Nov 09 00:51:39 2004 +0100
     1.3 @@ -35,7 +35,7 @@
     1.4  class NameUtils:
     1.5      def get_name(self):
     1.6          if self.name_index != 0:
     1.7 -            return unicode(self.class_file.constants[self.name_index - 1])
     1.8 +            return self.class_file.constants[self.name_index - 1]
     1.9          else:
    1.10              # Some name indexes are zero to indicate special conditions.
    1.11              return None