Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Chodorow committed Apr 15, 2010
1 parent 3cc6572 commit 9440233
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions handlers.py
Expand Up @@ -38,11 +38,8 @@ def _get_connection(self, name = None, host = None, port = None):
port = 27107

try:
print "connecting to "+name
connection = Connection(host = host, port = port, network_timeout = 2)
print "connected"
except ConnectionFailure:
print "failed"
return None

setattr(self, name, connection)
Expand Down Expand Up @@ -94,7 +91,6 @@ def _get_son(self, str, out):
def _cmd(self, args, out, name = None, db = None, collection = None):
if name == None:
name = "default"
print "using conn "+name;

conn = self._get_connection(name)
if conn == None:
Expand Down

0 comments on commit 9440233

Please sign in to comment.