[CalendarServer-changes] [15709] CalendarServer/trunk/calendarserver/tap/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 27 09:59:04 PDT 2016
Revision: 15709
http://trac.calendarserver.org//changeset/15709
Author: cdaboo at apple.com
Date: 2016-06-27 09:59:04 -0700 (Mon, 27 Jun 2016)
Log Message:
-----------
Pydev marker fix.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tap/util.py
Modified: CalendarServer/trunk/calendarserver/tap/util.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/util.py 2016-06-25 14:47:22 UTC (rev 15708)
+++ CalendarServer/trunk/calendarserver/tap/util.py 2016-06-27 16:59:04 UTC (rev 15709)
@@ -1436,6 +1436,7 @@
return True, "APNS disabled"
+
def checkCertExpiration(certPath):
"""
See if the given certificate is expired.
@@ -1450,7 +1451,7 @@
opensslTool = which("openssl")[0]
args = [opensslTool, "x509", "-checkend", "0", "-noout", "-in", certPath]
child = Popen(args=args, stdout=PIPE, stderr=PIPE)
- output, error = child.communicate()
+ child.communicate()
exitStatus = child.returncode
return exitStatus == 0
except IndexError:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160627/612a3f8f/attachment.html>
More information about the calendarserver-changes
mailing list