[Zope-Checkins] SVN: Zope/branches/2.12/src/nt_svcutils/service.py Remove pointless call to another function.
Chris Withers
chris at simplistix.co.uk
Mon Oct 5 10:09:13 EDT 2009
Log message for revision 104796:
Remove pointless call to another function.
Changed:
U Zope/branches/2.12/src/nt_svcutils/service.py
-=-
Modified: Zope/branches/2.12/src/nt_svcutils/service.py
===================================================================
--- Zope/branches/2.12/src/nt_svcutils/service.py 2009-10-05 11:53:44 UTC (rev 104795)
+++ Zope/branches/2.12/src/nt_svcutils/service.py 2009-10-05 14:09:13 UTC (rev 104796)
@@ -112,10 +112,6 @@
# 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 @@
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()
More information about the Zope-Checkins
mailing list