(self, client, job, formatter=None, stdout=None)
client must be a PupyClient instance
client must be a PupyClient instance
client must be a PupyClient instance
def __init__(self, client, job, formatter=None, stdout=None):
		""" client must be a PupyClient instance """
		self.client=client
		self.job=job
		if formatter is None:
			from .PupyCmd import PupyCmd
			self.formatter=PupyCmd
		else:
			self.formatter=formatter
		if stdout is None:
			self.stdout=StringIO.StringIO()
			self.del_close=True
		else:
			self.stdout=stdout
			self.del_close=False
		self.init_argparse()
def __init__ ( self , client , job , formatter = None , stdout = None ) : self . client = client self . job = job if formatter is None : from . PupyCmd import PupyCmd self . formatter = PupyCmd else : self . formatter = formatter if stdout is None : self . stdout = StringIO . StringIO ( ) self . del_close = True else : self . stdout = stdout self . del_close = False self . init_argparse ( )