summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b9791f)
raw | patch | inline | side by side (parent: 7b9791f)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 28 Jul 2001 08:16:52 +0000 (08:16 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 28 Jul 2001 08:16:52 +0000 (08:16 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@121 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index 9dbed7f2b1255f22e2ccbb327aeb9157494dfc82..9e635244ad020cbee3cb144cda28572b89427e18 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
-# $Id: cgi_client.py,v 1.4 2001-07-28 00:34:34 richard Exp $
+# $Id: cgi_client.py,v 1.5 2001-07-28 08:16:52 richard Exp $
import os, cgi, pprint, StringIO, urlparse, re, traceback
m.append('%s: %s'%(name, value))
# handle the note
- if self.form.has_key('__note'):
- note = self.form['__note'].value
+ note = self.form.get('__note', None)
+ if note and note.value:
+ note = note.value
if '\n' in note:
summary = re.split(r'\n\r?', note)[0]
else:
#
# $Log: not supported by cvs2svn $
+# Revision 1.4 2001/07/28 00:34:34 richard
+# Fixed some non-string node ids.
+#
# Revision 1.3 2001/07/23 03:56:30 richard
# oops, missed a config removal
#