Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed bug when closing mongodb connection

  • Loading branch information...
commit ee466d72907f48fb2868655ae227a32e0513bb37 1 parent e68b136
authored January 31, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  genericore/mongo_connect.py
2  genericore/mongo_connect.py
@@ -59,7 +59,7 @@ def __init__(self,MODULE_NAME='mongo_connect',conf=None):
59 59
     self.load_conf(conf)
60 60
 
61 61
   def close_connection(self): 
62  
-    self.conn.close()
  62
+    self.conn.disconnect()
63 63
 
64 64
   def populate_parser(self,parser): 
65 65
     parser.add_argument('--mongohost',metavar='HOST',help='Mongodb Host')

0 notes on commit ee466d7

Please sign in to comment.
Something went wrong with that request. Please try again.