update.py: fix syntax issues (typical "C-isms")
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
This commit is contained in:
parent
c497a753da
commit
893c4aabdb
1 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ def updateDefinitions(idxes):
|
|||
|
||||
obj.append(idx, type, line)
|
||||
if verbose:
|
||||
print(f"def {type} {ident} in #{idx} @ {line}");
|
||||
print(f"def {type} {ident} in #{idx} @ {line}")
|
||||
db.defs.put(ident, obj)
|
||||
|
||||
def updateReferences(idxes):
|
||||
|
|
@ -132,7 +132,7 @@ def updateReferences(idxes):
|
|||
|
||||
obj.append(idx, lines)
|
||||
if verbose:
|
||||
print(f"ref: {ident} in #{idx} @ {lines}");
|
||||
print(f"ref: {ident} in #{idx} @ {lines}")
|
||||
db.refs.put(ident, obj)
|
||||
|
||||
def updateDocComments(idxes):
|
||||
|
|
@ -155,7 +155,7 @@ def updateDocComments(idxes):
|
|||
|
||||
obj.append(idx, str(line))
|
||||
if verbose:
|
||||
print(f"doc: {ident} in #{idx} @ {line}");
|
||||
print(f"doc: {ident} in #{idx} @ {line}")
|
||||
db.docs.put(ident, obj)
|
||||
|
||||
def progress(msg):
|
||||
|
|
|
|||
Loading…
Reference in a new issue