Fix when release date is not today

Also, some fixes for PyFlakes

Original commit by @dongweiming at
a05c4038706f3a95776adea376bc664c0714b426
Merge pull request #1014 from untitaker/pr842

Fix when release date is not today
Upload to new server
Merge branch 'master' of github.com:mitsuhiko/flask