Commit e2204550 authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed module detection in gen_javadoc.py script

parent fc7219d1
...@@ -28,7 +28,7 @@ class JavadocGenerator(object): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment