1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

commandline.py: remove some unnecessary pass statements

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-05-27 13:42:28 +02:00
parent 42b8d5ff45
commit ca306fbb29

View File

@ -1076,7 +1076,6 @@ class Osc(cmdln.Cmdln):
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 \
@ -1288,7 +1287,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
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 \
@ -5394,7 +5392,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
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: