mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 13:11:31 +00:00
Remove unnecessary _last_valid_tag stuff
This commit is contained in:
parent
d8ac0dc311
commit
98e1bbe9d6
@ -101,19 +101,15 @@ class SnapshotProvider:
|
||||
|
||||
@property
|
||||
def _last_valid_branch(self):
|
||||
self._update_last_valid_branch()
|
||||
return self.__last_valid_branch
|
||||
|
||||
def _update_last_valid_branch(self):
|
||||
if not self._head_detached:
|
||||
self.__last_valid_branch = self._branch
|
||||
return self.__last_valid_branch
|
||||
|
||||
def _checkout(self, what):
|
||||
self._run((
|
||||
'git', 'checkout',
|
||||
what
|
||||
))
|
||||
self._update_last_valid_branch()
|
||||
|
||||
@property
|
||||
def all_timelines(self):
|
||||
|
Loading…
Reference in New Issue
Block a user