Ejemplo n.º 1
0
 def clear_pickles(self):
     """Remove all pickles."""
     log.info(
         "Removing all context pickles.  Use --save-pickles to recreate for specified contexts."
     )
     for path in rmap.list_pickles("*.pmap",
                                   self.observatory,
                                   full_path=True):
         if os.path.exists(path):
             utils.remove(path, self.observatory)
Ejemplo n.º 2
0
 def list_cached_pickles(self):
     """List the pickle paths in the local cache."""
     _print_list(rmap.list_pickles("*", self.observatory, full_path=self.args.full_path))
Ejemplo n.º 3
0
 def list_cached_pickles(self):
     """List the pickle paths in the local cache."""
     _print_list(
         rmap.list_pickles("*",
                           self.observatory,
                           full_path=self.args.full_path))
Ejemplo n.º 4
0
 def clear_pickles(self):
     """Remove all pickles."""
     log.info("Removing all context pickles.  Use --save-pickles to recreate for specified contexts.")
     for path in rmap.list_pickles("*.pmap", self.observatory, full_path=True):
         if os.path.exists(path):
             utils.remove(path, self.observatory)