[Checkins] SVN: grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url make use of ZTK packages instead of deprecated BBB imports

Jan-Wijbrand Kolman janwijbrand at gmail.com
Sun Nov 15 15:08:38 EST 2009


Log message for revision 105657:
  make use of ZTK packages instead of deprecated BBB imports

Changed:
  U   grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url.py
  U   grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url_function.py

-=-
Modified: grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url.py
===================================================================
--- grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url.py	2009-11-15 20:07:39 UTC (rev 105656)
+++ grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url.py	2009-11-15 20:08:37 UTC (rev 105657)
@@ -2,7 +2,7 @@
 """
 Views have a method that can be used to construct URLs:
 
-  >>> from zope.app.folder import Folder
+  >>> from zope.site.folder import Folder
   >>> herd = Folder()
   >>> getRootFolder()['herd'] = herd
   >>> manfred = Mammoth()
@@ -173,7 +173,7 @@
 
 """
 import grokcore.view as grok
-from zope.app.container.contained import Contained
+from zope.container.contained import Contained
 
 class Mammoth(Contained):
     pass

Modified: grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url_function.py
===================================================================
--- grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url_function.py	2009-11-15 20:07:39 UTC (rev 105656)
+++ grokcore.view/branches/1.13/src/grokcore/view/ftests/url/url_function.py	2009-11-15 20:08:37 UTC (rev 105657)
@@ -5,7 +5,7 @@
 
   >>> from grokcore.view import url
 
-  >>> from zope.app.folder import Folder
+  >>> from zope.site.folder import Folder
   >>> herd = Folder()
   >>> getRootFolder()['herd'] = herd
   >>> manfred = Mammoth()
@@ -64,7 +64,7 @@
 """
 import grokcore.view as grok
 from grokcore.view import url
-from zope.app.container.contained import Contained
+from zope.container.contained import Contained
 
 class Mammoth(Contained):
     pass



More information about the checkins mailing list