summaryrefslogtreecommitdiff
path: root/scripts/builder
Unidiff
Diffstat (limited to 'scripts/builder') (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
@@ -52,8 +52,8 @@ class Repository(object):
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()