[CalendarServer-changes] [3210] CalendarServer/trunk/twistedcaldav/tap.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 22 15:31:41 PDT 2008
Revision: 3210
http://trac.macosforge.org/projects/calendarserver/changeset/3210
Author: wsanchez at apple.com
Date: 2008-10-22 15:31:41 -0700 (Wed, 22 Oct 2008)
Log Message:
-----------
Use child.returncode instead of child.poll().
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/tap.py
Modified: CalendarServer/trunk/twistedcaldav/tap.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/tap.py 2008-10-22 18:39:32 UTC (rev 3209)
+++ CalendarServer/trunk/twistedcaldav/tap.py 2008-10-22 22:31:41 UTC (rev 3210)
@@ -379,7 +379,7 @@
)
output, error = child.communicate()
- if child.poll():
+ if child.returncode:
log.err("Could not get passphrase for %s: %s" % (config.SSLPrivateKey, error))
else:
return output
@@ -411,7 +411,7 @@
)
output, error = child.communicate()
- if child.poll():
+ if child.returncode:
log.err("Could not get passphrase for %s: %s" % (config.SSLPrivateKey, error))
else:
return output
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081022/d611bf45/attachment.html>
More information about the calendarserver-changes
mailing list