X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/841c7b2a6b015e3ab3331713cf10caf7a4fd0b49..c73e63b7d7733f1308c2c0c504144e93062bb489:/stgit/stack.py diff --git a/stgit/stack.py b/stgit/stack.py index 5237084..6281f36 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -92,8 +92,9 @@ def edit_file(series, line, comment, show_patch = True): f.close() # the editor - if config.has_option('stgit', 'editor'): - editor = config.get('stgit', 'editor') + editor = config.get('stgit.editor') + if editor: + pass elif 'EDITOR' in os.environ: editor = os.environ['EDITOR'] else: