...
This commit is contained in:
parent
775584b5a5
commit
aab9482e31
@ -115,7 +115,7 @@ def quote_env_val(x: str, literal_quote: bool = False) -> str:
|
|||||||
x = quote_pat.sub(r'\\\1', x)
|
x = quote_pat.sub(r'\\\1', x)
|
||||||
x = x.replace('$', r'\$')
|
x = x.replace('$', r'\$')
|
||||||
return f'"{x}"'
|
return f'"{x}"'
|
||||||
return f'{x}'
|
return f"'{x}'"
|
||||||
|
|
||||||
|
|
||||||
def serialize_env(literal_env: Dict[str, str], env: Dict[str, str], base_env: Dict[str, str], for_python: bool = False) -> bytes:
|
def serialize_env(literal_env: Dict[str, str], env: Dict[str, str], base_env: Dict[str, str], for_python: bool = False) -> bytes:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user