Fixed module detection in gen_javadoc.py script

pull/13383/head
Andrey Kamaev 14 years ago
parent fc7219d1db
commit e22045502d
  1. 2
      modules/java/gen_javadoc.py

@ -28,7 +28,7 @@ class JavadocGenerator(object):
def document(self, infile, outfile): def document(self, infile, outfile):
inf = open(infile, "rt") inf = open(infile, "rt")
outf = open(outfile, "wt") outf = open(outfile, "wt")
module = os.path.splitext(os.path.basename(infile))[0] module = os.path.splitext(os.path.basename(infile))[0].split("+")[0]
if module not in allmodules: if module not in allmodules:
module = "unknown" module = "unknown"
try: try:

Loading…
Cancel
Save