parameters: (self, pid_dirs)
return_statement: return old_pids
docstring: Finds any checkpoint that is older than a month in the passed directory
          :param pid_dirs: String; Path to the directory to be checked
          :return: List of Strings; Paths to old directories
docstring_summary: Finds any checkpoint that is older than a month in the passed directory
          :param pid_dirs: String; Path to the directory to be checked
          :return: List of Strings; Paths to old directories
docstring_tokens: Finds any checkpoint that is older than a month in the passed directory : param pid_dirs : String ; Path to the directory to be checked : return : List of Strings ; Paths to old directories
function: def _find_checkpoints_older_than_a_month(self, pid_dirs):
          """
          Finds any checkpoint that is older than a month in the passed directory
          :param pid_dirs: String; Path to the directory to be checked
          :return: List of Strings; Paths to old directories
          """
          old_pids = []
          for pid_dir in pid_dirs:
              # If pid folder hasn't been touched in a month delete it
              if self._is_file_older_than_month(pid_dir):
                  old_pids.append(pid_dir)
          return old_pids
function_tokens: def _find_checkpoints_older_than_a_month ( self , pid_dirs ) : old_pids = [ ] for pid_dir in pid_dirs : # If pid folder hasn't been touched in a month delete it if self . _is_file_older_than_month ( pid_dir ) : old_pids . append ( pid_dir ) return old_pids