1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- do_submitrequest: ignore skipped files

This commit is contained in:
Marcus Huewe 2010-09-21 11:19:27 +02:00
parent 02980dfdb0
commit f7dc7abebc

View File

@ -894,7 +894,7 @@ class Osc(cmdln.Cmdln):
sys.exit('Package \'%s\' is not a source link, so I cannot guess the submit target.\n'
'Please provide it the target via commandline arguments.' % p.name)
modified = [i for i in p.filenamelist if p.status(i) != ' ' and p.status(i) != '?']
modified = [i for i in p.filenamelist if not p.status(i) in (' ', '?', 'S')]
if len(modified) > 0:
print 'Your working copy has local modifications.'
repl = raw_input('Proceed without committing the local changes? (y|N) ')