From cc09a4fcadd37f07fd68462a66f4838d0f57242e Mon Sep 17 00:00:00 2001
From: Matthew Brett <matthew.brett@gmail.com>
Date: Thu, 11 Nov 2010 11:28:00 -0800
Subject: [PATCH] BF - py3k fix for git version string

---
 setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/setup.py b/setup.py
index 2d6d962..b59452e 100755
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,7 @@ def git_version():
 
     try:
         out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
-        GIT_REVISION = out.strip()
+        GIT_REVISION = out.strip().decode('ascii')
     except OSError:
         GIT_REVISION = "Unknown"
 
-- 
1.7.2.3

