Skip to content

Commit

Permalink
commandline.py: remove some unnecessary pass statements
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
  • Loading branch information
dalgaaf committed May 27, 2013
1 parent 42b8d5f commit ca306fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,6 @@ def do_submitrequest(self, subcmd, opts, *args):
print("""\
Warning: failed to fetch meta data for '%s' package '%s' (new package?) """ \
% (dst_project, dst_package), file=sys.stderr)
pass

if devloc and \
dst_project != devloc and \
Expand Down Expand Up @@ -1288,7 +1287,6 @@ def _submit_request(self, args, opts, options_block):
print("""\
Warning: failed to fetch meta data for '%s' package '%s' (new package?) """ \
% (dst_project, dst_package), file=sys.stderr)
pass

if devloc and \
dst_project != devloc and \
Expand Down Expand Up @@ -5394,7 +5392,7 @@ def do_build(self, subcmd, opts, *args):
except:
print("WARNING: package is not existing on server yet")
opts.local_package = True
pass

if opts.offline or opts.local_package or r == None:
print("WARNING: source service from package or project will not be executed. This may not be the same build as on server!")
elif (conf.config['local_service_run'] and not opts.noservice) and not opts.noinit:
Expand Down

0 comments on commit ca306fb

Please sign in to comment.