whitespaces at night...
This commit is contained in:
parent
3b6a3a55da
commit
72354b4ed4
11 changed files with 28 additions and 40 deletions
|
|
@ -3,6 +3,7 @@ from subprocess import Popen
|
|||
from subprocess import CalledProcessError
|
||||
from datetime import datetime as dt
|
||||
|
||||
|
||||
class Command:
|
||||
def __init__(self, command, log):
|
||||
self.command = command
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ class LinspectorDaemon(Daemon):
|
|||
#logger.writeLogToFile(_logfile, str(err))
|
||||
print "failed"
|
||||
sys.exit(1)
|
||||
time.sleep(1)
|
||||
time.sleep(1)
|
||||
|
|
@ -17,7 +17,6 @@ class Logger():
|
|||
:param logfile: the file where to log. Logs are rotated by default.
|
||||
:param logfileLevel: the LoggingLevel for the file Logger. (DEBUG default)
|
||||
"""
|
||||
|
||||
logfile = path.expanduser(logfile)
|
||||
if not path.exists(path.dirname(logfile)):
|
||||
os.makedirs(path.dirname(logfile))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue