diff options
-rw-r--r-- | oslosphinx/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslosphinx/__init__.py b/oslosphinx/__init__.py index 24c7f40..d31e81d 100644 --- a/oslosphinx/__init__.py +++ b/oslosphinx/__init__.py @@ -28,7 +28,7 @@ def _html_page_context(app, pagename, templatename, context, doctree): git_remote = subprocess.check_output( ['git', 'config', '--local', '--get', 'remote.origin.url'] ) - except subprocess.CheckedProcessException: + except subprocess.CalledProcessError: _cgit_link = 'unknown' else: parsed = urlparse.urlparse(git_remote) |