From 175a8fa2aa595132cf6dbf8ed405bb0682ab95dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20P=C3=A1nek?= Date: Wed, 21 May 2014 15:30:25 +0200 Subject: [PATCH] Fix build error caused by wrong indentation --- mkdocs/gh_deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkdocs/gh_deploy.py b/mkdocs/gh_deploy.py index 0f21d092..c8fd95a8 100644 --- a/mkdocs/gh_deploy.py +++ b/mkdocs/gh_deploy.py @@ -9,9 +9,9 @@ def gh_deploy(config): print "Copying '%s' to `gh-pages` branch and pushing to GitHub." % config['site_dir'] try: - subprocess.check_call(['ghp-import', '-p', config['site_dir']]) + subprocess.check_call(['ghp-import', '-p', config['site_dir']]) except: - return + return # TODO: Also check for CNAME file url = subprocess.check_output(["git", "config", "--get", "remote.origin.url"])