diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-05-08 11:12:38 +0200 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-05-08 11:12:38 +0200 |
commit | 19f8a24e4187b81f18a0def87b2b170a40977ff1 (patch) | |
tree | 2ce71319448707455816d0e48d3e62be88d02d9d /mediagoblin/user_pages/routing.py | |
parent | a5b06bb0750afd9d2751f92230d4dcb5c76d61c5 (diff) | |
download | mediagoblin-19f8a24e4187b81f18a0def87b2b170a40977ff1.tar.lz mediagoblin-19f8a24e4187b81f18a0def87b2b170a40977ff1.tar.xz mediagoblin-19f8a24e4187b81f18a0def87b2b170a40977ff1.zip |
app.py: Need to pass in port number as 'int'
When we configured an explicite db_port in mediagoblin.ini, paster would
crash claiming that the port number must be an int. Given that we don't
have a "get_conf_int()" function or something similar (yet?), simply
convert the port number to int before passing it to the mongo Connection
instance.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/user_pages/routing.py')
0 files changed, 0 insertions, 0 deletions