Fixed module detection in gen_javadoc.py script

This commit is contained in:
Andrey Kamaev 2011-07-26 09:13:30 +00:00
parent fc7219d1db
commit e22045502d

View File

@ -28,7 +28,7 @@ class JavadocGenerator(object):
def document(self, infile, outfile):
inf = open(infile, "rt")
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:
module = "unknown"
try: