sbsv2/raptor/python/raptor.py
branchwip
changeset 21 a695dd5e4c37
parent 14 45cdac6e50c6
child 29 ee00c00df073
equal deleted inserted replaced
15:9d01f1c36469 21:a695dd5e4c37
   573 		self.debugOutput = TrueOrFalse
   573 		self.debugOutput = TrueOrFalse
   574 		return True
   574 		return True
   575 
   575 
   576 	def SetExportOnly(self, TrueOrFalse):
   576 	def SetExportOnly(self, TrueOrFalse):
   577 		self.doExportOnly = TrueOrFalse
   577 		self.doExportOnly = TrueOrFalse
       
   578 		if not self.doExport:
       
   579 			self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful")
       
   580 			return False
   578 		return True
   581 		return True
   579 
   582 
   580 	def SetNoExport(self, TrueOrFalse):
   583 	def SetNoExport(self, TrueOrFalse):
   581 		self.doExport = not TrueOrFalse
   584 		self.doExport = not TrueOrFalse
       
   585 		if self.doExportOnly:
       
   586 			self.Error("The --noexport and --export-only options are incompatible - won't to do anything useful")
       
   587 			return False
   582 		return True
   588 		return True
   583 
   589 
   584 	def SetNoBuild(self, TrueOrFalse):
   590 	def SetNoBuild(self, TrueOrFalse):
   585 		self.noBuild = TrueOrFalse
   591 		self.noBuild = TrueOrFalse
   586 		return True
   592 		return True