Skip to content

Commit 97258c6

Browse files
committed
Check i != 0 at the top
1 parent ac1d245 commit 97258c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/empath-split.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ def main():
317317
with tempfile.NamedTemporaryFile(suffix=".manifest", mode='w+', delete=not args.preserve_manifest) as f:
318318
manifest = f.name
319319
for i, (module, paths) in enumerate(module_to_paths.items()):
320+
if i != 0: # Unless we are the first entry add a newline separator
321+
f.write('\n')
320322
funcs = set()
321323
for path in paths:
322324
if not path_to_funcs[path]:

0 commit comments

Comments
 (0)