Use f-string? #6

Closed
opened 2024-07-11 18:30:42 +02:00 by GuilloteauQ · 0 comments
Owner

ecg.py Lines 162 to 163 in 2f779d0ab0
pkglist_process = subprocess.run("sha256sum " + pkg_file.name + " | cut -zd ' ' -f 1", cwd=path, capture_output=True, shell=True)
pkg_row = pkg["name"] + "," + pkglist_process.stdout.decode("utf-8") + ",misc"

ecg.py Line 146 in 2f779d0ab0
format_process = subprocess.run("cat << EOF | " + pkgmgr_cmd[pkgmgr][1] + "\n" + pkglist_process.stdout.decode("utf-8") + "EOF", cwd=path, capture_output=True, shell=True)

https://forge.chapril.org/GuilloteauQ/study-docker-repro-longevity/src/commit/2f779d0ab09ef81681999c91cfd9f3f27ab621ea/ecg.py#L162-L163 https://forge.chapril.org/GuilloteauQ/study-docker-repro-longevity/src/commit/2f779d0ab09ef81681999c91cfd9f3f27ab621ea/ecg.py#L146
Sign in to join this conversation.
No description provided.