1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

- fixed message str

This commit is contained in:
Marcus Huewe 2010-05-25 18:31:50 +02:00
parent d2dbc069b0
commit beb08a0fb1

View File

@ -4867,12 +4867,12 @@ def check_filelist_before_commit(pacs):
p.todo.sort()
for f in [f for f in p.todo if not os.path.isdir(f)]:
if not f.startswith('_service:') and not f.startswith('_service_') and p.status(f) in ('?', '!'):
print 'File "%s" is not in package meta.'%f
resp = raw_input("(s)kip/(r)emove/(e)dit file lists/(c)ommit/(A)bort? ")
print 'File "%s" is listed in package meta but does not exist.' % f
resp = raw_input('(s)kip/(r)emove/(e)dit file lists/(c)ommit/(A)bort? ')
if resp in ('s', 'S'):
continue
elif resp in ('r', 'R'):
p.process_filelist(['r ? %s' % (f, ), ])
p.process_filelist(['r ? %s' % f])
elif resp in ('e', 'E'):
try:
p.edit_filelist()