Moves shell_quote import out of p3.py

main
Olivier Mangin 7 years ago
parent 5c74f942c4
commit 922781a89a

@ -28,8 +28,6 @@ if sys.version_info[0] == 2:
ustdio.seek(0)
return ustdio.read()
from pipes import quote as shell_quote
else:
ustr = str
uchr = chr
@ -54,7 +52,6 @@ else:
return stdio.read()
import pickle
from pipes import quote as shell_quote
input = input

@ -1,7 +1,7 @@
import subprocess
import shlex
import subprocess
from pipes import quote as shell_quote
from ...p3 import shell_quote
from ...plugins import PapersPlugin
from ...pubs_cmd import execute

Loading…
Cancel
Save