mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-30 19:56:14 +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
|
break
|
||||||
elif ri in 'eE':
|
elif ri in 'eE':
|
||||||
ri_err = False
|
ri_err = False
|
||||||
pass
|
|
||||||
else:
|
else:
|
||||||
print("%s is not a valid option." % ri)
|
print("%s is not a valid option." % ri)
|
||||||
ri_err = True
|
ri_err = True
|
||||||
pass
|
|
||||||
finally:
|
finally:
|
||||||
os.unlink(filename)
|
os.unlink(filename)
|
||||||
return msg
|
return msg
|
||||||
|
Loading…
Reference in New Issue
Block a user