adjust format with comment
This commit is contained in:
parent
94b964ec70
commit
6e49d1e5e8
@ -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(),
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user