Beispiel #1
0
Datei: New.py Projekt: rec/grit
def _existing_templates():
    suffix = '.template'
    templates = sorted(Project.files('new'), key=len, reverse=True)
    return [t[:-len(suffix)] for t in templates if t.endswith(suffix)]