chiark / gitweb /
Make stgit.config use git-repo-config.
[stgit] / stgit / stack.py
index 5237084ce04bf00e893599df0aacbb7a9ff0840b..6281f368b2b3668bcec21f7ca7124052e1cee6f1 100644 (file)
@@ -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: