(self, flag)
determines whether a commit is made by the action or it
        is done externally to the action
determines whether a commit is made by the action or it
        is done externally to the action
determines whether a commit is made by the action or it is done externally to the action
def set_commit_flag(self, flag):
        '''determines whether a commit is made by the action or it
        is done externally to the action'''
        if flag == True or flag == "True":
            self.commit_flag = True
        else:
            self.commit_flag = False
def set_commit_flag ( self , flag ) : if flag == True or flag == "True" : self . commit_flag = True else : self . commit_flag = False