Skip to content

Commit e072ee6

Browse files
committed
get rid of extra local
1 parent b525b25 commit e072ee6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dotenv/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,7 @@ def set_header(
421421
return False, header
422422

423423
lines = textwrap.wrap(header.replace("\n", " "), width=60)
424-
lines = [f"# {line}\n" for line in lines]
425-
header = "".join(lines)
424+
header = "".join(f"# {line}\n" for line in lines)
426425
dest.write(header)
427426

428427
text = "".join(atom for atom in source.readlines() if not atom.startswith("#"))

0 commit comments

Comments
 (0)