Created
September 3, 2009 01:56
-
-
Save grampelberg/180076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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