[Zope3-checkins] CVS: Zope3/src/zope/app/vfs/services - configure.zcml:1.1.2.2 package.py:1.1.2.2 service.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:54 -0500
Update of /cvs-repository/Zope3/src/zope/app/vfs/services
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/vfs/services
Modified Files:
Tag: NameGeddon-branch
configure.zcml package.py service.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/vfs/services/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/vfs/services/configure.zcml:1.1.2.1 Mon Dec 23 14:32:37 2002
+++ Zope3/src/zope/app/vfs/services/configure.zcml Tue Dec 24 07:51:23 2002
@@ -4,7 +4,7 @@
<vfs:view name="vfs"
for="zope.app.interfaces.services.interfaces.IZPTTemplate"
- permission="Zope.View"
+ permission="zope.View"
allowed_interface="zope.publisher.interfaces.vfs.IVFSFilePublisher"
factory="zope.app.vfs.services.zpt.ZPTTemplateView" />
@@ -12,13 +12,13 @@
name=".pt"
for="zope.app.interfaces.services.package.IPackageAdding"
factory="zope.app.vfs.services.zpt.ZPTTemplateAdd"
- permission="Zope.ManageContent" />
+ permission="zope.ManageContent" />
<vfs:view
name=".zpt"
for="zope.app.interfaces.services.package.IPackageAdding"
factory="zope.app.vfs.services.zpt.ZPTTemplateAdd"
- permission="Zope.ManageContent" />
+ permission="zope.ManageContent" />
</zopeConfigure>
@@ -35,7 +35,7 @@
name="+"
factory="zope.app.vfs.services.package.PackageAdding"
allowed_attributes="setContentName add"
- permission="Zope.ManageContent" />
+ permission="zope.ManageContent" />
<vfs:view
@@ -43,19 +43,19 @@
name="+"
factory="zope.app.vfs.container.adding.Adding"
allowed_attributes="setContentName add"
- permission="Zope.ManageContent" />
+ permission="zope.ManageContent" />
<vfs:view
name="Package"
for="zope.app.interfaces.container.IAdding"
factory="zope.app.vfs.services.package.PackageAdd"
- permission="Zope.ManageContent" />
+ permission="zope.ManageContent" />
<vfs:view
name="vfs"
for="zope.app.interfaces.services.service.IServiceManager"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
allowed_interface="zope.publisher.interfaces.vfs.IVFSDirectoryPublisher"
factory="zope.app.vfs.services.service.ServiceManagerView"
/>
@@ -63,7 +63,7 @@
<vfs:view
name="vfs"
for="zope.app.interfaces.services.package.IPackages"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
allowed_interface="zope.publisher.interfaces.vfs.IVFSDirectoryPublisher"
factory="zope.app.vfs.services.package.PackagesView"
/>
@@ -71,7 +71,7 @@
<vfs:view
name="vfs"
for="zope.app.interfaces.services.package.IPackage"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
allowed_interface="zope.publisher.interfaces.vfs.IVFSDirectoryPublisher"
factory="zope.app.vfs.services.package.PackageView"
/>
=== Zope3/src/zope/app/vfs/services/package.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/vfs/services/package.py:1.1.2.1 Mon Dec 23 14:32:37 2002
+++ Zope3/src/zope/app/vfs/services/package.py Tue Dec 24 07:51:23 2002
@@ -70,11 +70,11 @@
_directory_type = 'Package'
def remove(self, name):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass # not applicable
def writefile(self, name, mode, instream, start=0):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass # not applicable
=== Zope3/src/zope/app/vfs/services/service.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/vfs/services/service.py:1.1.2.1 Mon Dec 23 14:32:37 2002
+++ Zope3/src/zope/app/vfs/services/service.py Tue Dec 24 07:51:23 2002
@@ -27,67 +27,54 @@
__implments__ = IVFSDirectoryPublisher, VFSView.__implements__
- ############################################################
- # Implementation methods for interface
- # Zope.Publisher.VFS.IVFSDirectoryPublisher
-
def exists(self, name):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
if name == 'Packages':
return True
return False
def listdir(self, with_stats=0, pattern='*'):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
return [('Packages', (16384+511, 0, 0, 0, "nouser", "nogroup", 0,
zerotime, zerotime, zerotime)) ]
def mkdir(self, name, mode=777):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass
def remove(self, name):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass
def rmdir(self, name):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass
def rename(self, old, new):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass
def writefile(self, name, mode, instream, start=0):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
pass
def check_writable(self, name):
- 'See Zope.Publisher.VFS.IVFSDirectoryPublisher.IVFSDirectoryPublisher'
+ 'See IVFSDirectoryPublisher'
return False
-
- ######################################
- # from: Zope.Publisher.VFS.IVFSObjectPublisher.IVFSObjectPublisher
-
def isdir(self):
- 'See Zope.Publisher.VFS.IVFSObjectPublisher.IVFSObjectPublisher'
+ 'See IVFSObjectPublisher'
return True
def isfile(self):
- 'See Zope.Publisher.VFS.IVFSObjectPublisher.IVFSObjectPublisher'
+ 'See IVFSObjectPublisher'
return False
def stat(self):
- 'See Zope.Publisher.VFS.IVFSObjectPublisher.IVFSObjectPublisher'
+ 'See IVFSObjectPublisher'
return (16384+511, 0, 0, 0, "nouser", "nogroup", 4096,
zerotime, zerotime, zerotime)
- ######################################
- # from: Zope.Publisher.VFS.IVFSPublisher.IVFSPublisher
-
def publishTraverse(self, request, name):
- 'See Zope.Publisher.VFS.IVFSPublisher.IVFSPublisher'
+ 'See IVFSPublisher'
return None
- #
- ############################################################