From aa9db3c21a2b19f9752caab8242a23e5b9ad285e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 27 Jul 2011 17:25:27 +0100 Subject: Fix othermirror usage again. For real, this time. --- scripts/pbuilder-create | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pbuilder-create b/scripts/pbuilder-create index c118b15..a074607 100755 --- a/scripts/pbuilder-create +++ b/scripts/pbuilder-create @@ -76,8 +76,8 @@ class PbuilderCreate(cliapp.Application): '--distribution', release, '--basetgz', tgz, '--logfile', tgz + '.log'] - if othermirror: - argv += ['--othermirror=%s' % x for x in othermirror] + for x in othermirror or []: + argv += ['--othermirror', x] if self.settings['verbose']: print ' '.join(argv) if self.settings['no-act']: -- cgit v1.2.1