[Zope3-checkins] SVN: Zope3/branches/3.2/src/zope/ XXX and
whitespace fixes
Benji York
benji at zope.com
Fri Dec 16 16:32:27 EST 2005
Log message for revision 40833:
XXX and whitespace fixes
Changed:
U Zope3/branches/3.2/src/zope/app/applicationcontrol/browser/servercontrol.py
U Zope3/branches/3.2/src/zope/app/twisted/mkzopeinstance.py
U Zope3/branches/3.2/src/zope/dottedname/resolve.txt
U Zope3/branches/3.2/src/zope/dottedname/tests.py
U Zope3/branches/3.2/src/zope/interface/tests/test_advice.py
U Zope3/branches/3.2/src/zope/interface/tests/test_odd_declarations.py
-=-
Modified: Zope3/branches/3.2/src/zope/app/applicationcontrol/browser/servercontrol.py
===================================================================
--- Zope3/branches/3.2/src/zope/app/applicationcontrol/browser/servercontrol.py 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/app/applicationcontrol/browser/servercontrol.py 2005-12-16 21:32:26 UTC (rev 40833)
@@ -29,7 +29,7 @@
def action(self):
"""Do the shutdown/restart!"""
- # XXX I18N the responses
+ # TODO I18N the responses
control = self.serverControl()
if 'time' in self.request:
@@ -41,4 +41,3 @@
elif 'shutdown' in self.request:
control.shutdown(time)
return u"The server will be shutdown in %s seconds." % time
-
Modified: Zope3/branches/3.2/src/zope/app/twisted/mkzopeinstance.py
===================================================================
--- Zope3/branches/3.2/src/zope/app/twisted/mkzopeinstance.py 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/app/twisted/mkzopeinstance.py 2005-12-16 21:32:26 UTC (rev 40833)
@@ -165,7 +165,7 @@
def copy_skeleton(self):
options = self.options
- # XXX we should be able to compute the script
+ # TODO we should be able to compute the script
script = os.path.abspath(sys.argv[0])
zope_home = os.path.dirname(os.path.dirname(script))
zope_init = os.path.abspath(zope.__file__)
Modified: Zope3/branches/3.2/src/zope/dottedname/resolve.txt
===================================================================
--- Zope3/branches/3.2/src/zope/dottedname/resolve.txt 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/dottedname/resolve.txt 2005-12-16 21:32:26 UTC (rev 40833)
@@ -4,7 +4,7 @@
The zope.dottedname.resolve module provides a function for resolving
dotted names. Dotted names are resolved by importing modules and by
getting attributes from imported modules. Names with leading dots are
-relative.
+relative.
To illustrate, we'll use the dotted name resolver to access objects in
the os module:
Modified: Zope3/branches/3.2/src/zope/dottedname/tests.py
===================================================================
--- Zope3/branches/3.2/src/zope/dottedname/tests.py 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/dottedname/tests.py 2005-12-16 21:32:26 UTC (rev 40833)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""XXX short summary goes here.
+"""test resolution of dotted names
$Id$
"""
Modified: Zope3/branches/3.2/src/zope/interface/tests/test_advice.py
===================================================================
--- Zope3/branches/3.2/src/zope/interface/tests/test_advice.py 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/interface/tests/test_advice.py 2005-12-16 21:32:26 UTC (rev 40833)
@@ -101,7 +101,7 @@
self.assertEquals(log, [(1, Foo), (2, [Foo]), (3, [[Foo]])])
- def XXXcheckOutside(self):
+ def TODOcheckOutside(self):
# Disabled because the check does not work with doctest tests.
try:
ping([], 1)
Modified: Zope3/branches/3.2/src/zope/interface/tests/test_odd_declarations.py
===================================================================
--- Zope3/branches/3.2/src/zope/interface/tests/test_odd_declarations.py 2005-12-16 21:19:32 UTC (rev 40832)
+++ Zope3/branches/3.2/src/zope/interface/tests/test_odd_declarations.py 2005-12-16 21:32:26 UTC (rev 40833)
@@ -169,7 +169,7 @@
self.assertRaises(TypeError, directlyProvides, C, I5)
# see above
- def XXX_test_classProvides_fails_for_odd_class(self):
+ def TODO_test_classProvides_fails_for_odd_class(self):
try:
class A(Odd):
classProvides(I1)
More information about the Zope3-Checkins
mailing list