Skip to content

Commit 91d596d

Browse files
committed
Remove extra newlines that might be in string
1 parent 5b09b8a commit 91d596d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rc/control/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def parse_buildinfo_file(buildinfo_filename):
721721
break
722722

723723
if found_spack_package:
724-
package_dir = stdoutlines[package_line_number]
724+
package_dir = stdoutlines[package_line_number].strip()
725725

726726
buildinfo_file = f"{package_dir}/source/{pkgname}/BuildInfo/GetPackageBuildInfo.cc"
727727

0 commit comments

Comments
 (0)