From 0e04becbe9d1cc0bec4bcb08615e3e44ae8197c9 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Thu, 14 Apr 2011 21:24:08 -0400 Subject: [PATCH] Fix missing path component in utils.py --- util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.py b/util.py index 83f5383..7a0323d 100644 --- a/util.py +++ b/util.py @@ -39,7 +39,7 @@ def findGitVersion(): with open(os.path.join(this_dir,".git","HEAD")) as f: data = f.read().strip() if data.startswith("ref: "): - if not os.path.exists(os.path.join(this_dir,data[5:])): + if not os.path.exists(os.path.join(this_dir, ".git", data[5:])): return data with open(os.path.join(this_dir, ".git", data[5:])) as g: return g.read().strip()