Code

Fixed IssueClass so that superseders links to its classname rather than
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 30 Jul 2001 00:05:54 +0000 (00:05 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 30 Jul 2001 00:05:54 +0000 (00:05 +0000)
hard-coded to "issue".

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@144 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/roundupdb.py

index 659a10e343844e8cd8495302f189b69ea5299f9c..cd9fa0e4b96acebe428ab3f26783455daab1c6e8 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: roundupdb.py,v 1.5 2001-07-29 07:01:39 richard Exp $
+# $Id: roundupdb.py,v 1.6 2001-07-30 00:05:54 richard Exp $
 
 import re, os, smtplib, socket
 
@@ -178,7 +178,7 @@ class IssueClass(Class):
         if not properties.has_key('nosy'):
             properties['nosy'] = hyperdb.Multilink("user")
         if not properties.has_key('superseder'):
-            properties['superseder'] = hyperdb.Multilink("issue")
+            properties['superseder'] = hyperdb.Multilink(classname)
         if (properties.has_key('creation') or properties.has_key('activity')
                 or properties.has_key('creator')):
             raise ValueError, '"creation", "activity" and "creator" are reserved'
@@ -247,6 +247,9 @@ class IssueClass(Class):
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.5  2001/07/29 07:01:39  richard
+# Added vim command to all source so that we don't get no steenkin' tabs :)
+#
 # Revision 1.4  2001/07/29 04:05:37  richard
 # Added the fabricated property "id".
 #