adjust format with comment

This commit is contained in:
Louis Abel 2023-02-03 02:26:38 -07:00
parent 94b964ec70
commit 6e49d1e5e8
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class Shared:
base = os.path.basename(path) base = os.path.basename(path)
# This emulates our current syncing scripts that runs stat and # This emulates our current syncing scripts that runs stat and
# sha256sum and what not with a very specific output. # sha256sum and what not with a very specific output.
return "%s: %s bytes\n%s (%s) = %s\n" % ( return "# %s: %s bytes\n%s (%s) = %s\n" % (
base, base,
stat.st_size, stat.st_size,
hashtype.upper(), hashtype.upper(),

View File

@ -10,7 +10,7 @@ conf = base.conf
base.read_all_repos() base.read_all_repos()
all_repos = base.repos.all() all_repos = base.repos.all()
all_repos.disable() all_repos.disable()
base.repos.add_new_repo('all-source', conf, baseurl=['https://yumrepofs.build.resf.org/v1/projects/55b17281-bc54-4929-8aca-a8a11d628738/repo/all/src']) base.repos.add_new_repo('all-source', conf, baseurl=['https://yumrepofs.build.resf.org/v1/projects/0048077b-1573-4cb7-8ba7-cce823857ba5/repo/all/src'])
base.fill_sack() base.fill_sack()
q = base.sack.query() q = base.sack.query()