[CalendarServer-changes] [15250] twext/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 29 12:02:31 PDT 2015
Revision: 15250
http://trac.calendarserver.org//changeset/15250
Author: cdaboo at apple.com
Date: 2015-10-29 12:02:31 -0700 (Thu, 29 Oct 2015)
Log Message:
-----------
Whitespace.
Modified Paths:
--------------
twext/trunk/setup.py
twext/trunk/twext/internet/socketfile.py
twext/trunk/twext/who/ldap/_service.py
twext/trunk/twext/who/ldap/test/test_service.py
twext/trunk/twext/who/opendirectory/_service.py
twext/trunk/twext/who/opendirectory/test/test_service.py
Modified: twext/trunk/setup.py
===================================================================
--- twext/trunk/setup.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/setup.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -52,6 +52,7 @@
return modules
+
def svn_info(wc_path):
"""
Look up info on a Subversion working copy.
@@ -87,6 +88,7 @@
)
+
def svn_status(wc_path):
"""
Look up status on a Subversion working copy.
@@ -127,6 +129,7 @@
yield dict(path=path)
+
def version():
"""
Compute the version number.
@@ -275,6 +278,7 @@
pass
+
#
# Run setup
#
Modified: twext/trunk/twext/internet/socketfile.py
===================================================================
--- twext/trunk/twext/internet/socketfile.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/twext/internet/socketfile.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -41,6 +41,7 @@
self.realDoRead()
+
class MaxAcceptSocketFileServer(service.Service):
"""
Socket File server
Modified: twext/trunk/twext/who/ldap/_service.py
===================================================================
--- twext/trunk/twext/who/ldap/_service.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/twext/who/ldap/_service.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -877,7 +877,7 @@
if not isinstance(values, list):
values = [values]
- attribute, attributeValue, fieldValue = attributeRule.split(":")
+ _ignore_attribute, attributeValue, fieldValue = attributeRule.split(":")
for value in values:
if value == attributeValue:
Modified: twext/trunk/twext/who/ldap/test/test_service.py
===================================================================
--- twext/trunk/twext/who/ldap/test/test_service.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/twext/who/ldap/test/test_service.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -102,6 +102,7 @@
three.description = u"three"
+
class TestFieldName(Names):
multiChoice = NamedConstant()
multiChoice.description = u"Multiple Choice Test Field"
@@ -151,7 +152,6 @@
-
class TestService(DirectoryService, QueryMixIn):
pass
@@ -494,6 +494,7 @@
self.assertEquals(len(service.connections), 0)
+
class ExtraFiltersTest(BaseTestCase, unittest.TestCase):
def test_extraFilters(self):
@@ -516,6 +517,8 @@
service._addExtraFilter(RecordType.group, "(bar=2)")
)
+
+
class RecordsFromReplyTest(BaseTestCase, unittest.TestCase):
def test_boolean(self):
@@ -630,6 +633,7 @@
self.assertEquals(records[2].fullNames, ["cn-name"])
+
def mockDirectoryDataFromXMLService(service):
dc0 = u"org"
dc1 = u"calendarserver"
Modified: twext/trunk/twext/who/opendirectory/_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/_service.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/twext/who/opendirectory/_service.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -230,7 +230,6 @@
cls._resetAutoreleasePool()
-
@property
def nodeName(self):
return self._nodeName
Modified: twext/trunk/twext/who/opendirectory/test/test_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/test/test_service.py 2015-10-29 14:58:52 UTC (rev 15249)
+++ twext/trunk/twext/who/opendirectory/test/test_service.py 2015-10-29 19:02:31 UTC (rev 15250)
@@ -38,6 +38,7 @@
def setUp(self):
self.service = DirectoryService()
+
def tearDown(self):
self.service._deletePool()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151029/dd289fa6/attachment.html>
More information about the calendarserver-changes
mailing list