tokkee.org
Code
projects
/
roundup.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c61c1af781b542dc3b682581540030c7bb102ad9
[roundup.git]
/
roundup
/
templates
/
__init__.py
1
import os
2
3
def listTemplates():
4
t_dir = os.path.split(__file__)[0]
5
l = []
6
for entry in os.listdir(t_dir):
7
# this isn't strictly necessary - the CVS dir won't be distributed
8
if entry == 'CVS': continue
9
if os.path.isdir(os.path.join(t_dir, entry)):
10
l.append(entry)
11
return l
12