mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-13 08:39:03 +01:00
fix GitRepository revision function
This commit is contained in:
parent
5115ce2faf
commit
fc528c0f65
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user