(self)
return tgargs
Build trigger args
Build trigger args
Build trigger args
def build_tgargs(self):
        """Build trigger args"""
        tgargs = []
        if self.options.trigger_arg:
            tgargs = self.options.trigger_arg
        tgflags = self.options.trigger_flags
        if tgflags:
            tgargs.append('tgflags='+tgflags)
        if self.options.no_triggers:
            tgargs.append('no_triggers')
        if self.options.merge_all:
            tgargs.append('merge_all')
        if self.options.no_merge:
            tgargs.append('no_merge')
        if self.options.expect_sync:
            tgargs.append('expect_sync')
        return tgargs
def build_tgargs ( self ) : tgargs = [ ] if self . options . trigger_arg : tgargs = self . options . trigger_arg tgflags = self . options . trigger_flags if tgflags : tgargs . append ( 'tgflags=' + tgflags ) if self . options . no_triggers : tgargs . append ( 'no_triggers' ) if self . options . merge_all : tgargs . append ( 'merge_all' ) if self . options . no_merge : tgargs . append ( 'no_merge' ) if self . options . expect_sync : tgargs . append ( 'expect_sync' ) return tgargs