[Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/ Import os instead
of putting it in globs.
Benji York
benji at zope.com
Wed Jan 19 17:19:34 EST 2005
Log message for revision 28880:
Import os instead of putting it in globs.
Changed:
U Zope3/trunk/src/zope/wfmc/tests.py
U Zope3/trunk/src/zope/wfmc/xpdl.txt
-=-
Modified: Zope3/trunk/src/zope/wfmc/tests.py
===================================================================
--- Zope3/trunk/src/zope/wfmc/tests.py 2005-01-19 22:17:39 UTC (rev 28879)
+++ Zope3/trunk/src/zope/wfmc/tests.py 2005-01-19 22:19:34 UTC (rev 28880)
@@ -26,7 +26,6 @@
def setUp(test):
test.globs['this_directory'] = os.path.split(__file__)[0]
- test.globs['os'] = os
placelesssetup.setUp(test)
def test_suite():
Modified: Zope3/trunk/src/zope/wfmc/xpdl.txt
===================================================================
--- Zope3/trunk/src/zope/wfmc/xpdl.txt 2005-01-19 22:17:39 UTC (rev 28879)
+++ Zope3/trunk/src/zope/wfmc/xpdl.txt 2005-01-19 22:19:34 UTC (rev 28880)
@@ -11,6 +11,7 @@
"README.txt" file. We can read it using the xpdl module:
>>> from zope.wfmc import xpdl
+ >>> import os
>>> package = xpdl.read(open(os.path.join(this_directory,
... 'publication.xpdl')))
More information about the Zope3-Checkins
mailing list