From 1f9b748c733624e86777173a3fff399d622073b8 Mon Sep 17 00:00:00 2001 From: Danny Kukawka <danny.kukawka@web.de> Date: Fri, 30 Apr 2010 17:24:04 +0200 Subject: [PATCH] fix some more close() statements Fixed warning from pychecker by fixing some close() statements. Signed-off-by: Danny Kukawka <danny.kukawka@web.de> --- osc/core.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index f0f86b6..302db5b 100644 --- a/osc/core.py +++ b/osc/core.py @@ -2038,10 +2038,10 @@ def init_package_dir(apiurl, project, package, dir, revision=None, files=True, l os.chdir(store) f = open('_project', 'w') f.write(project + '\n') - f.close + f.close() f = open('_package', 'w') f.write(package + '\n') - f.close + f.close() if limit_size: f = open('_size_limit', 'w') -- 1.5.6 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org