reddit/reddit — pull request #488 by maxwellhansen (2012-08-11 05:52:31+00:00)
Title: Switched from unnecessary for loop to more concise dict comprehension in upload_static_files_to_s3.py

The previous code declares an empty dict, then loops through bucket.list() to fill it. That goes against the advised practices for Python from the Python Foundation, which recommends using comprehensions as I do in the new code.