def info(): table = PluginTable() row = table.getLast() update_date = row['update_date'] total = table.count() print ''' vim plugins info total: %d, last updated at %s ''' % (total, update_date)
def fetchNew(self): table = PluginTable() last_id, last_date=table.getLast() print last_id, last_date return self.fetchAll(last_id)