PEATSA/WebApp/Data.py
def addJob(self, job):
	
		'''Adds a job to the set of jobs in this run
		
		Parameters:
			job - A Job instance'''
	
		values = (self.jobAssocTable, self.identification, job.identification)
		statement = """INSERT IGNORE INTO %s (RunID, JobID) VALUES ('%s', '%s')""" % values
		self.cursor.execute(statement)
		self.connection.commit()
Adds a job to the set of jobs in this run
		
		Parameters:
			job - A Job instance
Adds a job to the set of jobs in this run
Parameters:
job - A Job instance
Adds a job to the set of jobs in this run Parameters : job - A Job instance
def addJob(self, job):
		values = (self.jobAssocTable, self.identification, job.identification)
		statement = """INSERT IGNORE INTO %s (RunID, JobID) VALUES ('%s', '%s')""" % values
		self.cursor.execute(statement)
		self.connection.commit()
def addJob ( self , job ) : values = ( self . jobAssocTable , self . identification , job . identification ) statement = """INSERT IGNORE INTO %s (RunID, JobID) VALUES ('%s', '%s')""" % values self . cursor . execute ( statement ) self . connection . commit ( )
Adds a job to the set of jobs in this run
Parameters:
job - A Job instance
Adds a job to the set of jobs in this run Parameters : job - A Job instance
'''Adds a job to the set of jobs in this run
		
		Parameters:
			job - A Job instance'''
self
job