[CalendarServer-changes] [13277] twext/trunk/twext/python/launchd.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 15 11:28:17 PDT 2014
Revision: 13277
http://trac.calendarserver.org//changeset/13277
Author: wsanchez at apple.com
Date: 2014-04-15 11:28:17 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
Don't need dedent, actually.
Modified Paths:
--------------
twext/trunk/twext/python/launchd.py
Modified: twext/trunk/twext/python/launchd.py
===================================================================
--- twext/trunk/twext/python/launchd.py 2014-04-15 18:24:04 UTC (rev 13276)
+++ twext/trunk/twext/python/launchd.py 2014-04-15 18:28:17 UTC (rev 13277)
@@ -35,11 +35,10 @@
from __future__ import print_function
from cffi import FFI, VerificationError
-from textwrap import dedent
ffi = FFI()
-ffi.cdef(dedent(
+ffi.cdef(
"""
static const char* LAUNCH_KEY_CHECKIN;
static const char* LAUNCH_JOBKEY_LABEL;
@@ -97,7 +96,7 @@
void launch_data_free(launch_data_t);
"""
-))
+)
try:
lib = ffi.verify(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140415/02194ba1/attachment.html>
More information about the calendarserver-changes
mailing list