[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - file.py:1.2
Sidnei da Silva
sidnei@x3ng.com.br
Mon, 23 Jun 2003 13:17:37 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv14183/src/zope/app/interfaces
Modified Files:
file.py
Log Message:
1. Whitespace cleanup. 2. Docstring fixing. 3. Modified DAV code and tests to append '/' to the path if the last element is 'dir-like'. 4. Support for MKCOL with tests + functional tests. 5. Refactored DAV functional tests into a base class for reusing
=== Zope3/src/zope/app/interfaces/file.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/interfaces/file.py:1.1 Mon Feb 3 10:08:39 2003
+++ Zope3/src/zope/app/interfaces/file.py Mon Jun 23 13:17:06 2003
@@ -1,7 +1,7 @@
##############################################################################
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
@@ -114,9 +114,9 @@
"""
class IWriteDirectory(IWriteContainer):
- """Objects that should be treated as directories for reading
+ """Objects that should be treated as directories for writing
"""
-
+
class IDirectoryFactory(Interface):
def __call__(name):
@@ -126,7 +126,7 @@
and IWriteDirectory.
"""
-
+
class IFileFactory(Interface):
def __call__(name, content_type, data):