From 473e397a7bab7f75ce7bd5aee4510a40f83dff87 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Feb 13 2018 18:48:43 +0000 Subject: adjust debug output to make it less noisy --- diff --git a/util/kojira b/util/kojira index 490b922..a603533 100755 --- a/util/kojira +++ b/util/kojira @@ -364,10 +364,13 @@ class RepoManager(object): self.logger.debug("%s is not a directory, skipping", tagdir) continue for repo_id in os.listdir(tagdir): + if repo_id == 'latest': + # ignore latest symlinks + continue try: repo_id = int(repo_id) except ValueError: - self.logger.debug("%s not an int, skipping", tagdir) + self.logger.debug("%s/%s not an int, skipping", tagdir, repo_id) continue repodir = "%s/%s" % (tagdir, repo_id) if not os.path.isdir(repodir): @@ -375,7 +378,6 @@ class RepoManager(object): continue if repo_id in self.repos: #we're already managing it, no need to deal with it here - self.logger.debug("seen %s already, skipping", repodir) continue try: dir_ts = os.stat(repodir).st_mtime