コード例 #1
0
ファイル: compmake_test.py プロジェクト: p-muller/compmake
 def up_to_date(self, job_id):
     from compmake.jobs.uptodate import CacheQueryDB
     cq = CacheQueryDB(db=self.db)
     up, reason, timestamp = cq.up_to_date(job_id)
     print('up_to_date(%r): %s, %r, %s' % 
           (job_id, up, reason, timestamp))
     return up
コード例 #2
0
 def up_to_date(self, job_id):
     from compmake.jobs.uptodate import CacheQueryDB
     cq = CacheQueryDB(db=self.db)
     up, reason, timestamp = cq.up_to_date(job_id)
     print('up_to_date(%r): %s, %r, %s' % (job_id, up, reason, timestamp))
     return up