Lines Matching refs:dc
98 def get_op_entries(self, dc, op, op_ver, method="GET"):
120 logpath = dc.get_logpath()
347 def __get_cache_entries(self, dc):
352 logpath = dc.get_logpath()
375 dc = self.dcs[1]
388 returned = self.get_op_entries(dc, "catalog", "1")
404 repo = dc.get_repo()
415 returned = self.get_op_entries(dc, "catalog", "1")
427 returned = self.get_op_entries(dc, "catalog", "1")
438 returned = self.get_op_entries(dc, "catalog", "1")
446 repo = dc.get_repo()
449 dc.stop()
450 dc.set_rebuild()
451 dc.start()
452 dc.set_norebuild()
461 returned = self.get_op_entries(dc, "catalog", "1")
471 trpath = os.path.join(tdir, os.path.basename(dc.get_repodir()))
472 shutil.copytree(dc.get_repodir(), trpath)
484 repo = dc.get_repo()
488 dc.stop()
489 shutil.rmtree(dc.get_repodir())
490 shutil.move(trpath, dc.get_repodir())
491 dc.start()
493 repo = dc.get_repo()
503 returned = self.get_op_entries(dc, "catalog", "1")
513 trpath = os.path.join(tdir, os.path.basename(dc.get_repodir()))
514 shutil.copytree(dc.get_repodir(), trpath)
518 repo = dc.get_repo()
528 repo = dc.get_repo()
532 dc.stop()
533 shutil.rmtree(dc.get_repodir())
534 shutil.move(trpath, dc.get_repodir())
535 dc.start()
542 repo = dc.get_repo()
557 returned = self.get_op_entries(dc, "catalog", "1")
566 dc.stop()
567 dc.set_debug_feature("headers")
568 dc.start()
588 returned = self.get_op_entries(dc, "catalog", "1")
591 entries = self.__get_cache_entries(dc)
604 dc.stop()
605 dc.start()
613 returned = self.get_op_entries(dc, "catalog", "1")
616 entries = self.__get_cache_entries(dc)
716 dc = self.dcs[1]
722 dc.stop()
723 dc.set_debug_feature("headers")
724 dc.start()
726 entries = self.__get_cache_entries(dc)
733 entries = self.__get_cache_entries(dc)
739 entries = self.__get_cache_entries(dc)
747 dc = self.dcs[1]
754 dc.stop()
755 dc.set_debug_feature("headers")
756 dc.start()
758 entries = self.__get_cache_entries(dc)
764 entries = self.__get_cache_entries(dc)
772 dc = self.dcs[1]
779 dc.stop()
780 dc.set_debug_feature("headers")
781 dc.start()
783 entries = self.__get_cache_entries(dc)
789 entries = self.__get_cache_entries(dc)
797 entries = self.__get_cache_entries(dc)