Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
ef759669
Commit
ef759669
authored
May 18, 2011
by
Noah Zoschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import re in settings patch
parent
bd9a08b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
dbs.py.src
opt/dbs.py.src
+1
-1
__main__.py
test/__main__.py
+0
-1
No files found.
opt/dbs.py.src
View file @
ef759669
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# BEGIN HEROKU PYTHON/DJANGO LANGUAGE PACK
# BEGIN HEROKU PYTHON/DJANGO LANGUAGE PACK
# Dynamically set DATABASES from ENV vars
# Dynamically set DATABASES from ENV vars
import os, urlparse
import os,
re,
urlparse
urlparse.uses_netloc.append("postgres")
urlparse.uses_netloc.append("postgres")
key_re = re.compile(r"^(?P<name>[A-Z_]+)_URL$")
key_re = re.compile(r"^(?P<name>[A-Z_]+)_URL$")
...
...
test/__main__.py
View file @
ef759669
import
os
import
os
import
re
import
unittest
import
unittest
BIN_DIR
=
os
.
path
.
dirname
(
__file__
)
BIN_DIR
=
os
.
path
.
dirname
(
__file__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment