summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3672525)
raw | patch | inline | side by side (parent: 3672525)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Nov 2003 05:55:01 +0000 (05:55 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Nov 2003 05:55:01 +0000 (05:55 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1985 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index 4a90637d6168124a680655a7d58e41a887270c78..062462bff6e7c1a58d7b25615c047d9405ad8cfb 100644 (file)
''' Return this class' designator (classname) '''
return self._classname
- def getItem(self, itemid, num_re=re.compile('\d+')):
+ def getItem(self, itemid, num_re=re.compile('-?\d+')):
''' Get an item of this class by its item id.
'''
# make sure we're looking at an itemid