def getWeblog(self): locator = IWeblogLocator(self.context) weblog = locator.find() return weblog
def getWeblog(self): """Return the weblog object. """ locator = IWeblogLocator(self.context) return locator.find()