Automatically init git in SnapshotProvider

This commit is contained in:
Kristóf Tóth 2018-07-18 13:42:05 +02:00
parent c279b2517f
commit 2f5e8d11f3

View File

@ -21,7 +21,9 @@ class SnapshotProvider:
self._branch = 'master' self._branch = 'master'
self._branches = [self._branch] self._branches = [self._branch]
def init_repo(self): self._init_repo()
def _init_repo(self):
self._run(('git', 'init')) self._run(('git', 'init'))
def take_snapshot(self): def take_snapshot(self):