pep8 fixes (2 unrelated to this mp)

This commit is contained in:
Scott Moser
2014-07-24 09:06:16 -04:00
parent 6f9d4a939b
commit 2bfeaf78c9
4 changed files with 7 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ import subprocess
def is_f(p):
return os.path.isfile(p)
def tiny_p(cmd, capture=True):
# Darn python 2.6 doesn't have check_output (argggg)
stdout = subprocess.PIPE
@@ -51,6 +52,7 @@ def tiny_p(cmd, capture=True):
% (cmd, ret, out, err))
return (out, err)
def systemd_unitdir():
cmd = ['pkg-config', '--variable=systemdsystemunitdir', 'systemd']
try: