Skip to content

Commit

Permalink
py3: s/pipes.quote/shlex.quote/g
Browse files Browse the repository at this point in the history
* closes cylc#2864
  • Loading branch information
oliver-sanders committed Mar 7, 2019
1 parent a6f7cc0 commit a50ef5a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/cylc-cat-log
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if remrun(abort_if='edit', forward_x11=True):
import os
import shlex
from glob import glob
from pipes import quote
from shlex import quote
from stat import S_IRUSR
from tempfile import mkstemp
from subprocess import Popen, PIPE
Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/host_appointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import json
from itertools import dropwhile
from pipes import quote
from shlex import quote
from random import choice
import socket
from time import sleep
Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""Run command on a remote, (i.e. a remote [user@]host)."""

import os
from pipes import quote
from shlex import quote
from posix import WIFSIGNALED
import shlex
import signal
Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from collections import deque
import logging
import os
from pipes import quote
from shlex import quote
from queue import Empty, Queue
from shutil import copytree, rmtree
from subprocess import Popen, PIPE
Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/subprocctx.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

import json
from pipes import quote
from shlex import quote

from cylc.wallclock import get_current_time_string

Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/suite_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from collections import namedtuple
import os
from pipes import quote
from shlex import quote

from cylc import LOG
from cylc.cfgspec.glbl_cfg import glbl_cfg
Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from collections import namedtuple
from logging import getLevelName, CRITICAL, ERROR, WARNING, INFO, DEBUG
import os
from pipes import quote
from shlex import quote
import shlex
from time import time

Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/task_remote_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"""

import os
from pipes import quote
from shlex import quote
import re
from subprocess import Popen, PIPE
import tarfile
Expand Down

0 comments on commit a50ef5a

Please sign in to comment.