Skip to content

Commit 7a18b83

Browse files
author
Richard Jones
committed
forgot :note/:file docstring
1 parent 7ceba0d commit 7a18b83

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

roundup/cgi/client.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.85 2003-02-14 00:31:46 richard Exp $
1+
# $Id: client.py,v 1.86 2003-02-16 22:57:09 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1142,6 +1142,13 @@ def parsePropsFromForm(self, num_re=re.compile('^\d+$')):
11421142
If a String property's form value is a file upload, then we
11431143
try to set additional properties "filename" and "type" (if
11441144
they are valid for the class).
1145+
1146+
Two special form values are supported for backwards
1147+
compatibility:
1148+
:note - create a message (with content, author and date), link
1149+
to the context item
1150+
:file - create a file, attach to the current item and any
1151+
message created by :note
11451152
'''
11461153
# some very useful variables
11471154
db = self.db

0 commit comments

Comments
 (0)