Moves shell_quote import out of p3.py

This commit is contained in:
Olivier Mangin 2017-10-03 22:53:08 -04:00
parent 5c74f942c4
commit 922781a89a
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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