Add a sed_unterminated_s rule

This commit is contained in:
mcarton
2015-07-04 16:45:30 +02:00
parent cb33c912e5
commit f3cdfbdbdb
4 changed files with 53 additions and 0 deletions
+7
View File
@@ -7,6 +7,13 @@ from .types import Command
DEVNULL = open(os.devnull, 'w')
if six.PY2:
import pipes
quote = pipes.quote
else:
import shlex
quote = shlex.quote
def which(program):
"""Returns `program` path or `None`."""