def _getDatabase(self, sysConfig): # Get the database configuration config = libxml2.xmlNode(_obj=sysConfig[0]) return Framework().getSite(WeblogUtil.configValue(config, "/blog/id")).db