Skip to content

Commit 971c140

Browse files
committed
Rework livefs_edit/actions.py
1 parent c232f19 commit 971c140

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

livefs_edit/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def add_autoinstall_config(ctxt, autoinstall_config):
333333

334334

335335
@register_action()
336-
def resign_pool(ctxt, dist='stable'):
336+
def resign_pool(ctxt, dist=None):
337337
gpgconf = ctxt.tmpfile()
338338
gpghome = ctxt.tmpdir()
339339
with open(gpgconf, 'x') as c:
@@ -388,7 +388,7 @@ def add_debs_to_pool(ctxt, debs: List[str] = ()):
388388
cp = run(
389389
[
390390
'apt-ftparchive', '--md5=off', '--sha1=off', '--sha512=off',
391-
'release', 'dists/'+dist+'',
391+
'release', f'dists/{dist}',
392392
],
393393
cwd=ctxt.p('new/iso'), stdout=subprocess.PIPE)
394394
# The uncompressed Packages file has to be around when

0 commit comments

Comments
 (0)