summaryrefslogtreecommitdiff
authorJosh <jokajak@gmail.com>2012-03-06 15:47:34 (UTC)
committer Josh <jokajak@gmail.com>2012-03-06 15:47:34 (UTC)
commitfc528c0f65192419ee54c2dc620d55a778660790 (patch) (side-by-side diff)
tree66663322a7bbc9a4c58f04f8f2fab89992a0426b
parent5115ce2faf3efdf2bec242d9c37d0524bf341a94 (diff)
downloadclipperz-fc528c0f65192419ee54c2dc620d55a778660790.zip
clipperz-fc528c0f65192419ee54c2dc620d55a778660790.tar.gz
clipperz-fc528c0f65192419ee54c2dc620d55a778660790.tar.bz2
fix GitRepository revision function
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--scripts/builder/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py
index f3f7d6f..7ea29bb 100644
--- a/scripts/builder/repository.py
+++ b/scripts/builder/repository.py
@@ -52,7 +52,7 @@ class Repository(object):
class GitRepository(Repository):
def revision (self):
- return repository.refs['HEAD']
+ return self.repository.refs['HEAD']
def areTherePendingChanges (self):