From eb14b3c2a4a0d9325a40a03a44d1eb45d39e013e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Thu, 23 Apr 2009 09:23:13 +0000 Subject: [PATCH] - fix show_files_meta call --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 0c7793e7..9a19d2f1 100755 --- a/osc/core.py +++ b/osc/core.py @@ -1581,7 +1581,7 @@ def init_package_dir(apiurl, project, package, dir, revision=None, files=True): if files: f = open('_files', 'w') - f.write(''.join(show_files_meta(apiurl, project, package, revision))) + f.write(''.join(show_files_meta(apiurl, project, package, revision=revision))) f.close() else: # create dummy @@ -1862,7 +1862,7 @@ def edit_meta(metatype, f.sync() -def show_files_meta(apiurl, prj, pac, expand=False, revision=None, linkrev=None, linkrepair=False): +def show_files_meta(apiurl, prj, pac, revision=None, expand=False, linkrev=None, linkrepair=False): query = {} if revision: query['rev'] = revision