Skip to content

Instantly share code, notes, and snippets.

@grampelberg
Created September 3, 2009 01:56
Show Gist options
  • Save grampelberg/180076 to your computer and use it in GitHub Desktop.
Save grampelberg/180076 to your computer and use it in GitHub Desktop.
def domains():
return cursor.fetch_all_domains()
def domain_whitelist_entries(domain):
return cursor.fetch_all_whitelists()
dict([(x, domain_whitelist_entries(x)) for x in domains])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment