PEATSA/WebApp/Data.py
def exists(self):
		
		'''Returns True if data corresponding to the receiver exists in the database'''
		
		#Check the job entry exists in the database
		query = "SELECT * FROM %s WHERE RunID = '%s'" % (self.runTable, self.identification)
		self.cursor.execute(query)
		rows = self.cursor.fetchall()

		if len(rows) == 0:
			return False
		else:
			return True
Returns True if data corresponding to the receiver exists in the database
Returns True if data corresponding to the receiver exists in the database
Returns True if data corresponding to the receiver exists in the database
def exists(self):
		query = "SELECT * FROM %s WHERE RunID = '%s'" % (self.runTable, self.identification)
		self.cursor.execute(query)
		rows = self.cursor.fetchall()
		if len(rows) == 0:
			return False
		else:
			return True
def exists ( self ) : query = "SELECT * FROM %s WHERE RunID = '%s'" % ( self . runTable , self . identification ) self . cursor . execute ( query ) rows = self . cursor . fetchall ( ) if len ( rows ) == 0 : return False else : return True
Returns True if data corresponding to the receiver exists in the database
Returns True if data corresponding to the receiver exists in the database
'''Returns True if data corresponding to the receiver exists in the database''' #Check the job entry exists in the database
self