def list_sites(datadir):
try:<EOL><INDENT>return os.listdir(datadir + '<STR_LIT>')<EOL><DEDENT>except OSError:<EOL><INDENT>return []<EOL><DEDENT>
Return a list of the site names valid for this environment