def __init__(self, db, site, logger):
        """Initialize a proxy."""
        self.db = db
        self._site = site
        self.config = site.config
        self.messages = site.MESSAGES
        self.logger = logger

        self.revision = ''
        self._timeline = []
        self._posts = []
        self._all_posts = []
        self._pages = []

        self.scan_posts()
def __init__ ( self , db , site , logger ) : self . db = db self . _site = site self . config = site . config self . messages = site . MESSAGES self . logger = logger self . revision = '' self . _timeline = [ ] self . _posts = [ ] self . _all_posts = [ ] self . _pages = [ ] self . scan_posts ( )
Initialize a proxy.