Mailinglist Archive: opensuse-buildservice (344 mails)

< Previous Next >
[opensuse-buildservice] [PATCH 1/3] fix close() statement in download()
  • From: Danny Kukawka <dkukawka@xxxxxxx>
  • Date: Mon, 3 May 2010 16:06:33 +0200
  • Message-id: <201005031606.34172.dkukawka@xxxxxxx>
From 257d823c45b940604c8d3d992b1e1f2da3746074 Mon Sep 17 00:00:00 2001
From: Danny Kukawka <danny.kukawka@xxxxxx>
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@xxxxxx>
---
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups