summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fe20dc)
raw | patch | inline | side by side (parent: 3fe20dc)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Feb 2009 23:23:35 +0000 (23:23 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 19 Feb 2009 23:23:35 +0000 (23:23 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4147 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index ce4daaf2a00758410c131d298d88894af1bb9a5e..f32b1e0e2c6d43748c873d8c391533e1ee785a44 100644 (file)
# we want config to be exposed
self.config = client.db.config
- def __getitem__(self, item, desre=re.compile(r'(?P<cl>\w+)(?P<id>[-\d]+)')):
+ def __getitem__(self, item, desre=re.compile(r'(?P<cl>[a-zA-Z_]+)(?P<id>[-\d]+)')):
# check to see if we're actually accessing an item
m = desre.match(item)
if m: