Skip to content

Commit

Permalink
newline before settings injection in case of no trailing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Zoschke committed Oct 4, 2011
1 parent 5915acf commit 3f95d9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/compile
Expand Up @@ -42,6 +42,7 @@ if [ "$NAME" = "Python/Django" ]; then
echo " Injecting code into $SETTINGS_FILE to read from DATABASE_URL"

cat >>$SETTINGS_FILE <<EOF
import os, sys, urlparse
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('mysql')
Expand Down

0 comments on commit 3f95d9b

Please sign in to comment.