make sure we look for the 'repodata' subdir inside update_md_path
if self.conf.update_md_path:
norm_u_md_path = os.path.normpath(self.conf.update_md_path)
- if not os.path.exists(norm_u_md_path):
- msg = _('Warning: could not open update_md_path: %s') % norm_u_md_path
+ u_md_repodata_path = norm_u_md_path + '/repodata'
+ if not os.path.exists(u_md_repodata_path):
+ msg = _('Warning: could not open update_md_path: %s') % u_md_repodata_path
self.callback.errorlog(msg)
old_repo_path = os.path.normpath(norm_u_md_path)
else:
for fn in self.files.values():
if not os.path.exists(fn):
#cannot scan
- errorprint(_("Previous repo file missing: %s") % fn)
+ errorprint(_("Warning: Old repodata file missing: %s") % fn)
return
root = libxml2.parseFile(self.files['base']).getRootElement()
self._scanPackageNodes(root, self._handleBase)