Skip to content

Commit

Permalink
Add some more logging during updateinfo generation/loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
bowlofeggs authored and amolkahat committed Feb 2, 2017
1 parent 4887d42 commit acd15eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bodhi/server/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ def __init__(self, release, request, db, path):
self.cached_repodata = os.path.join(self.repo, '..', self.tag +
'.repocache', 'repodata/')
if os.path.isdir(self.cached_repodata):
log.info('Loading cached updateinfo.xml')
self._load_cached_updateinfo()
else:
log.debug("Generating new updateinfo.xml")
log.info("Generating new updateinfo.xml")
self.uinfo = cr.UpdateInfo()
for update in self.updates:
if update.alias:
Expand Down

0 comments on commit acd15eb

Please sign in to comment.