aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-05-08 07:11:57 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-05-08 07:11:57 -0500
commit0ce26c370c30ec2fbaebba79b1d946d91ce8e96f (patch)
tree17cd5b7fbab1d274bbf7bb610563cd91bc417e17 /mediagoblin/app.py
parenteef100ada52adc4c1f65c7a006b92685f7317ee5 (diff)
parent19f8a24e4187b81f18a0def87b2b170a40977ff1 (diff)
downloadmediagoblin-0ce26c370c30ec2fbaebba79b1d946d91ce8e96f.tar.lz
mediagoblin-0ce26c370c30ec2fbaebba79b1d946d91ce8e96f.tar.xz
mediagoblin-0ce26c370c30ec2fbaebba79b1d946d91ce8e96f.zip
Merge remote branch 'refs/remotes/spaetz/master'
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py
index e93e0c4e..5c094f38 100644
--- a/mediagoblin/app.py
+++ b/mediagoblin/app.py
@@ -114,8 +114,9 @@ class MediaGoblinApp(object):
def paste_app_factory(global_config, **app_config):
# Get the database connection
+ port = int(app_config.get('db_port'))
connection = mongokit.Connection(
- app_config.get('db_host'), app_config.get('db_port'))
+ app_config.get('db_host'), port)
# Set up the storage systems.
public_store = storage.storage_system_from_paste_config(