aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/open.py
diff options
context:
space:
mode:
authorNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
committerNathan Yergler <nathan@yergler.net>2011-10-01 15:10:02 -0700
commit243c3843bd574129caa7663e25d1a843b2d2dd30 (patch)
tree0171de5e911010b76e86c689bb5f5f8ce86845db /mediagoblin/db/open.py
parent573aba86b58c2ab064d0d57ed0bbae6bdf9a2819 (diff)
downloadmediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.lz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.tar.xz
mediagoblin-243c3843bd574129caa7663e25d1a843b2d2dd30.zip
Whitespace and formatting cleanup.
* Removed trailing whitespace * Line length < 80 where possible * Honor conventions on number of blank lines * Honor conventions about spaces around :, =
Diffstat (limited to 'mediagoblin/db/open.py')
-rw-r--r--mediagoblin/db/open.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/open.py b/mediagoblin/db/open.py
index e73b6258..e677ba12 100644
--- a/mediagoblin/db/open.py
+++ b/mediagoblin/db/open.py
@@ -29,7 +29,7 @@ def connect_database_from_config(app_config, use_pymongo=False):
port = app_config.get('db_port')
if port:
port = asint(port)
-
+
if use_pymongo:
connection = pymongo.Connection(
app_config.get('db_host'), port)