From 257d823c45b940604c8d3d992b1e1f2da3746074 Mon Sep 17 00:00:00 2001 From: Danny Kukawka <danny.kukawka@web.de> Date: Fri, 30 Apr 2010 17:17:17 +0200 Subject: [PATCH] fix close() statement in download() Fixed warning from pychecker by fixing the close() statement in download(). Signed-off-by: Danny Kukawka <danny.kukawka@web.de> --- osc/commandline.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 057edc5..a8e5d2c 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -4663,7 +4663,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. u = makeurl(dir['apiurl'], ['source', dir['project'], dir['package'], pathname2url(name)], query=query) for buf in streamfile(u, http_GET, BUFSIZE): o.write(buf) - o.close + o.close() @cmdln.option('-d', '--destdir', default='repairlink', metavar='DIR', -- 1.5.6 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org