Add shells.quote

This commit is contained in:
mcarton
2015-10-28 14:16:01 +01:00
parent dae58211ba
commit ecfc180280
4 changed files with 20 additions and 11 deletions
-6
View File
@@ -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."""