summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcd9c74)
raw | patch | inline | side by side (parent: bcd9c74)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Mar 2003 02:12:50 +0000 (02:12 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Mar 2003 02:12:50 +0000 (02:12 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1586 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index 288b6f6e37ed6feafdb9b09b98b4a27bbb92bfdd..2fe97ea1158ea70d63b2d8298cbb4c57ef6616b9 100644 (file)
os.path.join(self._db.config.TEMPLATES,
classname+'.item'))
- if isinstance(prop, hyperdb.Multilink) and \
- len(args[k]) > 0:
+ if isinstance(prop, hyperdb.Multilink) and args[k]:
ml = []
for linkid in args[k]:
if isinstance(linkid, type(())):