fix GitRepository revision function

master-GE
Josh 2012-03-06 10:47:34 -05:00
parent 5115ce2faf
commit fc528c0f65
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ 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()