Moves shell_quote import out of p3.py
This commit is contained in:
parent
5c74f942c4
commit
922781a89a
@ -28,8 +28,6 @@ if sys.version_info[0] == 2:
|
|||||||
ustdio.seek(0)
|
ustdio.seek(0)
|
||||||
return ustdio.read()
|
return ustdio.read()
|
||||||
|
|
||||||
from pipes import quote as shell_quote
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
ustr = str
|
ustr = str
|
||||||
uchr = chr
|
uchr = chr
|
||||||
@ -54,7 +52,6 @@ else:
|
|||||||
return stdio.read()
|
return stdio.read()
|
||||||
|
|
||||||
import pickle
|
import pickle
|
||||||
from pipes import quote as shell_quote
|
|
||||||
|
|
||||||
input = input
|
input = input
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import subprocess
|
|
||||||
import shlex
|
import shlex
|
||||||
|
import subprocess
|
||||||
|
from pipes import quote as shell_quote
|
||||||
|
|
||||||
from ...p3 import shell_quote
|
|
||||||
from ...plugins import PapersPlugin
|
from ...plugins import PapersPlugin
|
||||||
from ...pubs_cmd import execute
|
from ...pubs_cmd import execute
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user