author | Josh <jokajak@gmail.com> | 2012-03-06 15:47:34 (UTC) |
---|---|---|
committer | Josh <jokajak@gmail.com> | 2012-03-06 15:47:34 (UTC) |
commit | fc528c0f65192419ee54c2dc620d55a778660790 (patch) (side-by-side diff) | |
tree | 66663322a7bbc9a4c58f04f8f2fab89992a0426b /scripts | |
parent | 5115ce2faf3efdf2bec242d9c37d0524bf341a94 (diff) | |
download | clipperz-fc528c0f65192419ee54c2dc620d55a778660790.zip clipperz-fc528c0f65192419ee54c2dc620d55a778660790.tar.gz clipperz-fc528c0f65192419ee54c2dc620d55a778660790.tar.bz2 |
fix GitRepository revision function
-rw-r--r-- | scripts/builder/repository.py | 4 |
1 files changed, 2 insertions, 2 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 @@ -51,10 +51,10 @@ class Repository(object): class GitRepository(Repository): def revision (self): - return repository.refs['HEAD'] - + return self.repository.refs['HEAD'] + def areTherePendingChanges (self): return repository.is_dirty() |