Ignore additional editorconfig errors
1 files changed, 6 insertions(+), 3 deletions(-) M gitsrht/editorconfig.py
M gitsrht/editorconfig.py => gitsrht/editorconfig.py +6 -3
@@ 4,9 4,12 @@ import re class EditorConfig: def __init__(self, repo, tree, path): self.repo = repo self.tree = tree self._config = self._config_for(path) try: self.repo = repo self.tree = tree self._config = self._config_for(path) except: self._config = None def _config_for(self, path): base = os.path.dirname(path)