Skip to content

Commit 0e0b1c5

Browse files
committed
Meet coding style requirements.
Signed-off-by: Jeremy Davies <jeremy@davies.name>
1 parent 475af1f commit 0e0b1c5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cally.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,8 @@ def full_call_graph(functions, **kwargs):
531531

532532
print_buf(std_buf, '"{}" -> "{}";'.format(func, caller))
533533

534-
if (caller not in functions) or (len(functions[caller]["files"]) == 0):
534+
if caller not in functions or \
535+
len(functions[caller]["files"]) == 0:
535536
print_buf(std_buf, '"{}" [style=dashed]'.
536537
format(caller))
537538

@@ -648,7 +649,8 @@ def main():
648649
match = re.match(function, line)
649650
if match is not None:
650651
function_name = match.group("function")
651-
if function_name in functions and functions[function_name]["files"]:
652+
if function_name in functions and \
653+
functions[function_name]["files"]:
652654
if not config.no_warnings:
653655
print_err("WARNING: Function {} defined in multiple "
654656
"files \"{}\"!".

0 commit comments

Comments
 (0)