summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-27 17:25:27 +0100
committerLars Wirzenius <liw@liw.fi>2011-07-27 17:25:27 +0100
commitaa9db3c21a2b19f9752caab8242a23e5b9ad285e (patch)
tree81f13f342735adb5667f3eec29a60b20d9811382
parent96fb2740bd24a1100a69a6ee42a14e8d26d605e5 (diff)
downloadliw-automation-aa9db3c21a2b19f9752caab8242a23e5b9ad285e.tar.gz
Fix othermirror usage again. For real, this time.
-rwxr-xr-xscripts/pbuilder-create4
1 files 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']: