import os
from glob import glob

slds = glob('../../mapserver/sld/*.xml')

l = []
for s in slds:
    name = os.path.splitext(os.path.basename(s))[0]
    if 'all' not in name:
        l.append(name)

print ','.join(l)