예제 #1
0
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)
예제 #2
0
 def fetchNew(self):
     table = PluginTable()
     last_id, last_date=table.getLast()
     print last_id, last_date
     return self.fetchAll(last_id)