From 23a6b4cfe9f99f366bad40c10b6793d93f60c667 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Sun, 28 May 2017 19:01:50 +0200 Subject: [PATCH] Remove superfluous "pass" statements in edit_text --- osc/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 148bb12c..3679de78 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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