Skip to content

Commit

Permalink
Code cleanup and fix for #741
Browse files Browse the repository at this point in the history
  • Loading branch information
hackdna committed Feb 2, 2016
1 parent 132ca9d commit f48b57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions refinery/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,14 @@ def get_setting(name, settings=local_settings):
# with an old version of git)
CURRENT_COMMIT = subprocess.check_output([
'/usr/bin/git',
'--git-dir', '/vagrant/.git',
'--work-tree', '/vagrant',
'--git-dir', os.path.join(BASE_DIR, '.git'),
'--work-tree', BASE_DIR,
'rev-parse', 'HEAD'
])
except (ValueError, subprocess.CalledProcessError) as exc:
logger.debug("Error retrieving hash of the most recent commit: %s",
exc)
CURRENT_COMMIT = "Error retrieving hash of the most recent commit"
CURRENT_COMMIT = ""

# Neo4J Settings
NEO4J_BASE_URL = "http://localhost:7474"
Expand Down

0 comments on commit f48b57f

Please sign in to comment.