1
0
Fork 0

Doc - fix lgtm.com alerts (#4959)

This commit is contained in:
Manuel B 2018-03-27 18:31:13 +02:00 committed by sleto-it
parent 209932da8b
commit 78f6d0c807
1 changed files with 1 additions and 3 deletions

View File

@ -482,8 +482,6 @@ def generic_handler_desc(cargo, r, message, op, para, name):
line = Typography(line)
para[name] += line + '\n'
para[name] = removeTrailingBR.sub("", para[name])
def start_docublock(cargo, r=Regexen()):
global currentDocuBlock
(fp, last) = cargo
@ -521,7 +519,7 @@ def restheader(cargo, r=Regexen()):
temp = parameters(last).split(',')
if temp == "":
raise Exception("Invalid restheader value. got empty string. Maybe missing closing bracket? " + path)
raise Exception("Invalid restheader value. got empty string. Maybe missing closing bracket? " + last)
(ucmethod, path) = temp[0].split()