def __init__( self, host_base, broker_name=None, broker_passphase=None, 
                  sample_path=None, result_path=None):
        SCClientConnection.__init__(self, host_base, broker_name, broker_passphase)

        # pseudo sample path
        self.sample_path = sample_path
        self.result_path = result_path
        
        if os.path.isdir(self.result_path) == False:
            os.makedirs(self.result_path)
예제 #2
0
    def __init__(self,
                 host_base,
                 broker_name=None,
                 broker_passphase=None,
                 sample_path=None,
                 result_path=None):
        SCClientConnection.__init__(self, host_base, broker_name,
                                    broker_passphase)

        # pseudo sample path
        self.sample_path = sample_path
        self.result_path = result_path

        if os.path.isdir(self.result_path) == False:
            os.makedirs(self.result_path)