From: Gordon Hecker Date: Thu, 22 Oct 2009 11:16:23 +0000 (+0200) Subject: whitespace fixes X-Git-Tag: e2factory-2.3.2rc1~39 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=8d3a07561d63c93597ff2d65d50552e4f03d4614;p=e2factory.git whitespace fixes Signed-off-by: Gordon Hecker --- diff --git a/generic/transport.lua b/generic/transport.lua index f72129f..a2258c1 100644 --- a/generic/transport.lua +++ b/generic/transport.lua @@ -166,7 +166,7 @@ function fetch_file(surl, location, destdir, destname) else user = "" end - if u.port then + if u.port then if u.transport == "scp" then port = "-P " .. u.port else @@ -174,12 +174,11 @@ function fetch_file(surl, location, destdir, destname) end else port = "" - end + end - local args = string.format( - " %s '%s%s:/%s/%s' '%s/%s'", - port,user, u.servername, u.path, location, - destdir, tmpfile) + local args = string.format(" %s '%s%s:/%s/%s' '%s/%s'", + port,user, u.servername, u.path, + location, destdir, tmpfile) rc, re = e2lib.scp(args) if not rc then return false, e:cat(re)