dev-linux
Ivan Maslov 3 years ago
parent 3f5a8e5687
commit 1e7512723c

@ -1,5 +1,4 @@
from ast import ExceptHandler
from multiprocessing.dummy import Process
import os
from .. import __Orchestrator__
from . import Process
@ -97,7 +96,7 @@ class Git():
:param inBranchLocalStr: _description_
:type inBranchLocalStr: str
:param inBranchRemoteStr: _description_
:param inBranchRemoteStr: example: origin/prd
:type inBranchRemoteStr: str
:return: _description_
:rtype: bool
@ -116,14 +115,15 @@ class Git():
:param inBranchLocalStr: _description_
:type inBranchLocalStr: str
:param inBranchRemoteStr: _description_
:param inBranchRemoteStr: example: origin/prd
:type inBranchRemoteStr: str
:param inPreviousBranchRestoreBool: _description_, defaults to True
:type inPreviousBranchRestoreBool: bool, optional
:param inIntervalSecFloat: _description_, defaults to 60.0
:type inIntervalSecFloat: float, optional
"""
Orchestrator.OrchestratorScheduleGet().every(inIntervalSecFloat).seconds().do(self.BranchRevLastGet, inBranchLocalStr, inBranchRemoteStr, inPreviousBranchRestoreBool)
"""
#self.BranchRevLastGet(inBranchLocalStr, inBranchRemoteStr, inPreviousBranchRestoreBool)
Orchestrator.OrchestratorScheduleGet().every(inIntervalSecFloat).seconds.do(self.BranchRevLastGet, inBranchLocalStr, inBranchRemoteStr, inPreviousBranchRestoreBool)
def BranchRevLastGet(self, inBranchLocalStr: str, inBranchRemoteStr: str, inPreviousBranchRestoreBool: bool = True):
"""Do some action to get the last revision

@ -5,5 +5,6 @@ The pyOpenRPA package (from UnicodeLabs)
"""
from .Web import Basic
from .__Orchestrator__ import *
from . import Managers
__all__ = []
__author__ = 'Ivan Maslov <ivan.maslov@unicodelabs.ru>'
Loading…
Cancel
Save