diff roundup/cgi/templating.py @ 2118:917826e3fb54

In the classes method of HTMLDatabase, the variable 'm' was undefined. I modified the unused list 'r' to be 'm' so now the code appears to function correctly.
author Brian Kelley <wc2so1@users.sourceforge.net>
date Thu, 25 Mar 2004 16:25:15 +0000
parents 1ef1b050b785
children ee3cf6a44f29
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Mar 25 03:55:19 2004 +0000
+++ b/roundup/cgi/templating.py	Thu Mar 25 16:25:15 2004 +0000
@@ -269,12 +269,12 @@
     def classes(self):
         l = self._client.db.classes.keys()
         l.sort()
-        r = []
+        m = []
         for item in l:
             if item == 'user':
                 m.append(HTMLUserClass(self._client, item))
             m.append(HTMLClass(self._client, item))
-        return r
+        return m
 
 def lookupIds(db, prop, ids, fail_ok=0, num_re=re.compile('-?\d+')):
     ''' "fail_ok" should be specified if we wish to pass through bad values

Roundup Issue Tracker: http://roundup-tracker.org/