1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-24 23:28:53 +02:00

- fixed indention

This commit is contained in:
Marcus Huewe
2010-01-14 20:25:14 +01:00
parent c4ccdea253
commit 28f3e3b7e2

View File

@@ -1283,7 +1283,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
project = store_read_project(wd)
package = store_read_package(wd)
apiurl = store_read_apiurl(wd)
update_local_dir = 1
update_local_dir = True
elif len(args) < 2:
raise oscerr.WrongArgs('Too few arguments (required none or two)')
elif len(args) > 2:
@@ -1292,11 +1292,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
apiurl = conf.config['apiurl']
project = args[0]
package = args[1]
update_local_dir = 0
update_local_dir = False
# execute
link_to_branch(apiurl, project, package)
if update_local_dir == 1:
if update_local_dir:
pac = findpacs(wd)[0]
pac.update()
@@ -2625,10 +2625,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if len(args) == 0:
wd = os.curdir
if is_project_dir(wd):
opts.csv=0
opts.hide_legend=0
opts.name_filter=0
opts.status_filter=0
opts.csv = 0
opts.hide_legend = 0
opts.name_filter = 0
opts.status_filter = 0
self.do_prjresults('prjresults', opts, *args);
sys.exit(0)
else: