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:
parent
9614cea39b
commit
23a6b4cfe9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user