bah
This commit is contained in:
parent
edcdd43b0e
commit
ead8677ca5
1 changed files with 3 additions and 2 deletions
|
@ -222,8 +222,9 @@ class Repo(object):
|
||||||
return string.split(line)[2] if line else None
|
return string.split(line)[2] if line else None
|
||||||
|
|
||||||
def has_changes_from_revision(self, revision):
|
def has_changes_from_revision(self, revision):
|
||||||
logging.info('%s =? %s', self.git_repo.commit(), revision)
|
commit = str(self.git_repo.commit())
|
||||||
return self.git_repo.commit() != revision
|
logging.info('%s =? %s', commit, revision)
|
||||||
|
return commit != revision
|
||||||
|
|
||||||
def save_commit(self):
|
def save_commit(self):
|
||||||
self.saved_commit = self.git_repo.commit()
|
self.saved_commit = self.git_repo.commit()
|
||||||
|
|
Loading…
Reference in a new issue