Commit 239f26e4 authored by Chris Withers's avatar Chris Withers

Remove pointless call to another function.

parent 539a73ad
......@@ -112,10 +112,6 @@ class Service(win32serviceutil.ServiceFramework):
# A hook for subclasses to override
pass
def createProcess(self, cmd):
self.start_time = time.time()
return self.createProcessCaptureIO(cmd)
def logmsg(self, event):
# log a service event using servicemanager.LogMsg
try:
......@@ -305,7 +301,9 @@ class Service(win32serviceutil.ServiceFramework):
self.backoff_interval *= 2
return True
def createProcessCaptureIO(self, cmd):
def createProcess(self, cmd):
self.start_time = time.time()
hInputRead, hInputWriteTemp = self.newPipe()
hOutReadTemp, hOutWrite = self.newPipe()
pid = win32api.GetCurrentProcess()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment