Skip to content

Commit 298c93e

Browse files
committed
Address lint issue
rhos_bootstrap/distribution.py:43:0: W1404: Implicit string concatenation found in assignment (implicit-str-concat)
1 parent 51e53ae commit 298c93e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

rhos_bootstrap/distribution.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ def __init__(
4040
"""Distribution Information class"""
4141
_id, _version_id, _name = (None, None, None)
4242
if not distro_id or not distro_version_id or not distro_name:
43-
cmd = "source /etc/os-release && " 'echo -e -n "$ID\n$VERSION_ID\n$NAME"'
4443
with subprocess.Popen(
45-
cmd,
44+
"source /etc/os-release && " 'echo -e -n "$ID\n$VERSION_ID\n$NAME"',
4645
shell=True,
4746
stdout=subprocess.PIPE,
4847
stderr=subprocess.DEVNULL,

0 commit comments

Comments
 (0)