Skip to content

Commit

Permalink
Removed debugging lines required to get autodoc to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed Jun 18, 2019
1 parent 7a2c5de commit a5bcdf3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions jpype/_jclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,9 @@ def _JClassFactory(name, jc):
bases.append(JClass(ic))

# Set up members
pkg = ""
cname = name
if '.' in cname:
(pkg, cname) = cname.rsplit('.', 1)
members = {
"__javaclass__": jc,
"__name__": cname,
"__module__": pkg,
"__name__": name,
}
fields = jc.getClassFields()
for i in fields:
Expand All @@ -310,7 +305,7 @@ def _JClassFactory(name, jc):

# Apply customizers
_jcustomizer._applyCustomizers(name, jc, bases, members)
res = JClass(cname, tuple(bases), members)
res = JClass(name, tuple(bases), members)
_JCLASSES[name] = res

# Post customizers
Expand Down

0 comments on commit a5bcdf3

Please sign in to comment.