return PyTrue();
Py_RETURN_TRUE;
static PyObject* wpOpen( PyObject* self, PyObject* args ){	unsigned int database;	if ( !PyArg_ParseTuple( args, "I:wolfpack.database.open(database)", &database ) )	{		return 0;	}	try	{		if ( database == 1 )		{			PersistentBroker::instance()->connect( Config::instance()->accountsHost(), Config::instance()->accountsName(), Config::instance()->accountsUsername(), Config::instance()->accountsPassword() );		}		else if ( database == 2 )		{			PersistentBroker::instance()->connect( Config::instance()->databaseHost(), Config::instance()->databaseName(), Config::instance()->databaseUsername(), Config::instance()->databasePassword() );		}	}	catch ( QString e )	{		PyErr_SetString( PyExc_RuntimeError, e.latin1() );		return 0;	}	catch ( ... )	{		PyErr_SetString( PyExc_RuntimeError, "Error while connecting to the database." );		return 0;	}	return PyTrue();}