summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/repository.py4
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
@@ -47,18 +47,18 @@ class Repository(object):
47 47
48 48
49#=================================================================== 49#===================================================================
50 50
51 51
52class GitRepository(Repository): 52class GitRepository(Repository):
53 53
54 def revision (self): 54 def revision (self):
55 return repository.refs['HEAD'] 55 return self.repository.refs['HEAD']
56 56
57 57
58 def areTherePendingChanges (self): 58 def areTherePendingChanges (self):
59 return repository.is_dirty() 59 return repository.is_dirty()
60 60
61 61
62#=================================================================== 62#===================================================================
63 63
64 64