mirror of https://gitee.com/bigwinds/arangodb
Doc - fix lgtm.com alerts (#4959)
This commit is contained in:
parent
209932da8b
commit
78f6d0c807
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue