def pages ( self ) : rev = self . db . get ( 'site:rev' ) if int ( rev ) != self . revision : self . reload_site ( ) return self . _pages
python reload page withdelay
Get pages reloading the site if needed .
def pages(self):
        """Get pages, reloading the site if needed."""
        rev = self.db.get('site:rev')
        if int(rev) != self.revision:
            self.reload_site()

        return self._pages