1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-28 10:46:15 +01:00

Remove superfluous "pass" statements in edit_text

This commit is contained in:
Marcus Huewe 2017-05-28 19:01:50 +02:00
parent 9614cea39b
commit 23a6b4cfe9

View File

@ -4022,11 +4022,9 @@ def edit_text(data='', delim=None, suffix='.txt', template=''):
break
elif ri in 'eE':
ri_err = False
pass
else:
print("%s is not a valid option." % ri)
ri_err = True
pass
finally:
os.unlink(filename)
return msg