Add shells.quote
This commit is contained in:
@@ -12,16 +12,10 @@ from inspect import getargspec
|
||||
|
||||
from pathlib import Path
|
||||
import pkg_resources
|
||||
import six
|
||||
from .conf import settings
|
||||
|
||||
DEVNULL = open(os.devnull, 'w')
|
||||
|
||||
if six.PY2:
|
||||
from pipes import quote
|
||||
else:
|
||||
from shlex import quote
|
||||
|
||||
|
||||
def memoize(fn):
|
||||
"""Caches previous calls to the function."""
|
||||
|
||||
Reference in New Issue
Block a user