Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nixops/script_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import logging.handlers
import json
from tempfile import TemporaryDirectory
import pipes
import shlex
from typing import Tuple, List, Optional, Union, Generator, Type, Set, Sequence
import nixops.ansi

Expand Down Expand Up @@ -1117,7 +1117,7 @@ def op_edit(args: Namespace) -> None:
if not editor:
raise Exception("the $EDITOR environment variable is not set")
os.system(
"$EDITOR " + " ".join([pipes.quote(x) for x in depl.network_expr.network])
"$EDITOR " + " ".join([shlex.quote(x) for x in depl.network_expr.network])
)


Expand Down
Loading