Trees | Indices | Help |
|
---|
|
1 ########################################################################### 2 # 3 # This program is part of Zenoss Core, an open source monitoring platform. 4 # Copyright (C) 2007, Zenoss Inc. 5 # 6 # This program is free software; you can redistribute it and/or modify it 7 # under the terms of the GNU General Public License version 2 as published by 8 # the Free Software Foundation. 9 # 10 # For complete information please visit: http://www.zenoss.com/oss/ 11 # 12 ########################################################################### 13 import types 14 15 from DbConnectionPool import DbConnectionPool 1618 19 # if we make this object persistent, we do not want to save make 20 # connections to the other database persistent. 21 22 _v_cpool = DbConnectionPool() 23 264028 """Load our database driver and connect to the database.""" 29 return self._v_cpool.get(host=self.host, 30 port=self.port, 31 username=self.username, 32 password=self.password, 33 database=self.database)34
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu May 7 11:46:47 2009 | http://epydoc.sourceforge.net |