Compare commits

..

2 Commits

Author SHA1 Message Date
2edd8a2093 Bumped package version
All checks were successful
ydeng/csvbyname/pipeline/head This commit looks good
2023-04-23 14:56:48 -05:00
7a400457fe Fixed double line breaks in output on Windows
All checks were successful
ydeng/csvbyname/pipeline/head This commit looks good
2023-04-23 14:56:29 -05:00
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ def write_collected_to_csv(
property_keys: Iterable[str], property_keys: Iterable[str],
output_basename: bool, output_basename: bool,
): ):
with open(output_path, "w") as output_fd: with open(output_path, "w", newline="", encoding="utf-8") as output_fd:
s_property_keys = sorted(property_keys) s_property_keys = sorted(property_keys)
header = ["path"] header = ["path"]
if output_basename: if output_basename:

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = csvbyname name = csvbyname
version = 0.0.5 version = 0.0.6
author = Harrison author = Harrison
[options] [options]