[Checkins] SVN: lovely.remotetask/trunk/src/lovely/remotetask/README.txt clean up some confusing bits

Fred L. Drake, Jr. fdrake at gmail.com
Mon Nov 5 10:57:35 EST 2007


Log message for revision 81527:
  clean up some confusing bits

Changed:
  U   lovely.remotetask/trunk/src/lovely/remotetask/README.txt

-=-
Modified: lovely.remotetask/trunk/src/lovely/remotetask/README.txt
===================================================================
--- lovely.remotetask/trunk/src/lovely/remotetask/README.txt	2007-11-05 15:53:04 UTC (rev 81526)
+++ lovely.remotetask/trunk/src/lovely/remotetask/README.txt	2007-11-05 15:57:35 UTC (rev 81527)
@@ -135,9 +135,8 @@
   ...     def getSectionName(self):
   ...         return 'lovely.remotetask'
   >>> config = Config()
-  >>> servicenames = ('site1 at TestTaskService1, site2 at TestTaskService2'
-  ...     ', at RootTaskService')
-  >>> config.mapping['autostart'] = servicenames
+  >>> config.mapping['autostart'] = (
+  ...     'site1 at TestTaskService1, site2 at TestTaskService2, at RootTaskService')
   >>> from zope.app.appsetup.product import setProductConfigurations
   >>> setProductConfigurations([config])
   >>> from lovely.remotetask.service import getAutostartServiceNames
@@ -210,8 +209,7 @@
 
 Reset the product configuration with the asterisked service names::
 
-  >>> servicenames = ('site1@*')
-  >>> config.mapping['autostart'] = servicenames
+  >>> config.mapping['autostart'] = 'site1@*'
   >>> setProductConfigurations([config])
   >>> getAutostartServiceNames()
   ['site1@*']
@@ -244,8 +242,7 @@
 
 Reset the product configuration with the asterisked service names::
 
-  >>> servicenames = ('*@*')
-  >>> config.mapping['autostart'] = servicenames
+  >>> config.mapping['autostart'] = '*@*'
   >>> setProductConfigurations([config])
   >>> getAutostartServiceNames()
   ['*@*']
@@ -289,8 +286,7 @@
 
 Reset the product configuration with the asterisked service names::
 
-  >>> servicenames = ('*@TestTaskService1')
-  >>> config.mapping['autostart'] = servicenames
+  >>> config.mapping['autostart'] = '*@TestTaskService1'
   >>> setProductConfigurations([config])
   >>> getAutostartServiceNames()
   ['*@TestTaskService1']
@@ -324,8 +320,7 @@
   >>> service.isProcessing()
   False
 
-  >>> servicenames = ('*@Foo')
-  >>> config.mapping['autostart'] = servicenames
+  >>> config.mapping['autostart'] = '*@Foo'
   >>> setProductConfigurations([config])
   >>> getAutostartServiceNames()
   ['*@Foo']



More information about the Checkins mailing list