def GetGitEditor(self):
    'Return the editor specified in the git config, or None if none is.'
    if (self.git_editor is None):
        self.git_editor = self._GetConfig('core.editor', error_ok=True)
    return (self.git_editor or None)
Return the editor specified in the git config, or None if none is.
def GetGitEditor(self):
    
    if (self.git_editor is None):
        self.git_editor = self._GetConfig('core.editor', error_ok=True)
    return (self.git_editor or None)